Skip to content

Instantly share code, notes, and snippets.

@simistern
Created October 29, 2018 18:43
Show Gist options
  • Save simistern/7944f2212bb5619113d43f74658b95da to your computer and use it in GitHub Desktop.
Save simistern/7944f2212bb5619113d43f74658b95da to your computer and use it in GitHub Desktop.
error: bundling failed: Error: We don't know what to do with this node type. We were previously a Statement but we can't fit in here?
at NodePath.insertBefore (/Projects/taskboss-rn/node_modules/@babel/traverse/lib/path/modification.js:55:11)
at PluginPass.Class (/Projects/taskboss-rn/node_modules/@babel/plugin-proposal-class-properties/lib/index.js:257:14)
at newFn (/Projects/taskboss-rn/node_modules/@babel/traverse/lib/visitors.js:237:21)
at NodePath._call (/Projects/taskboss-rn/node_modules/@babel/traverse/lib/path/context.js:65:20)
at NodePath.call (/Projects/taskboss-rn/node_modules/@babel/traverse/lib/path/context.js:40:17)
at NodePath.visit (/Projects/taskboss-rn/node_modules/@babel/traverse/lib/path/context.js:100:12)
at TraversalContext.visitQueue (/Projects/taskboss-rn/node_modules/@babel/traverse/lib/context.js:142:16)
at TraversalContext.visitSingle (/Projects/taskboss-rn/node_modules/@babel/traverse/lib/context.js:102:19)
at TraversalContext.visit (/Projects/taskboss-rn/node_modules/@babel/traverse/lib/context.js:182:19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment