ERROR in ./src/initializeApp2.js
Module build failed: TypeError: /project/src/initializeApp2.js: Cannot read property 'length' of undefined
at doesReturnJSX (/project/node_modules/babel-plugin-transform-react-stateless-component-name/lib/index.js:33:12)
at PluginPass.ExportDefaultDeclaration (/project/node_modules/babel-plugin-transform-react-stateless-component-name/lib/index.js:53:15)
at newFn (/project/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/project/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/project/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/project/node_modules/babel-traverse/lib/path/context.js:105:12)
at TraversalContext.visitQueue (/project/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitMultiple (/project/node_modules/babel-traverse/lib/context.js:103:17)
at TraversalContext.visit (/project/node_modules/babel-traverse/lib/context.js:190:19)
at Function.traverse.node (/project/node_modules/babel-traverse/lib/index.js:114:17)
at NodePath.visit (/project/node_modules/babel-traverse/lib/path/context.js:115:19)
at TraversalContext.visitQueue (/project/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/project/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/project/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/project/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/project/node_modules/babel-traverse/lib/index.js:79:12)
@ ./src/entry.js 11:26-57
code
stack trace
environment