Import error: Cannot read property 'func' of undefined
jednano opened this issue · 0 comments
jednano commented
import ReactAtellier from 'react-atellier';
☝️ that's all it takes to throw the following error:
Z:\node_modules\react-atellier\dist\react-atellier.js:8
A.newline=/[\n\r\u2028\u2029]/,A.lineBreak=new RegExp("\r\n|"+A.newline.source),A.allLineBreaks=
new RegExp(A.lineBreak.source,"g"),A.isIdentifierStart=function(A){return A<65?36===A||64===A:A<
91||(A<97?95===A:A<123||A>=170&&n.test(String.fromCharCode(A)))},A.isIdentifierChar=function(A){
return A<48?36===A:A<58||!(A<65)&&(A<91||(A<97?95===A:A<123||A>=170&&r.test(String.fromCharCode(
A))))}}(l);var u={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:
"preserve-newline"},h=[u.before_newline,u.preserve_newline],g={BlockStatement:"BlockStatement",
Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:
"ForInitializer",Conditional:"Conditional",Expression:"Expression"},d=function(A){var e=A,
t=e.length,n=0;this.back=function(){n-=1},this.hasNext=function(){return n<t},this.next=
function(){var A=null;return this.hasNext()&&(A=e.charAt(n),n+=1),A},this.peek=function(A
TypeError: Cannot read property 'func' of undefined
at Object.defineProperty.value (Z:\node_modules\react-atellier\dist\react-atellier.js:8:10339)
at e (Z:\node_modules\react-atellier\dist\react-atellier.js:1:454)
at Object.defineProperty.value (Z:\node_modules\react-atellier\dist\react-atellier.js:8:19245)
at e (Z:\node_modules\react-atellier\dist\react-atellier.js:1:454)
at Object.defineProperty.value (Z:\node_modules\react-atellier\dist\react-atellier.js:8:6802)
at e (Z:\node_modules\react-atellier\dist\react-atellier.js:1:454)
at Object.e.exports (Z:\node_modules\react-atellier\dist\react-atellier.js:1:685)
at e (Z:\node_modules\react-atellier\dist\react-atellier.js:1:454)
at Object.defineProperty.value (Z:\node_modules\react-atellier\dist\react-atellier.js:1:541)
at Z:\node_modules\react-atellier\dist\react-atellier.js:1:546