You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
events.js:141
throw er; // Unhandled 'error' event
^
TypeError: ~source/library/manifest/error.js: Cannot read property 'body' of undefined
at NodePath._getKey (~node_modules/babel-core/node_modules/babel-traverse/lib/path/family.js:113:23)
at NodePath.get (~node_modules/babel-core/node_modules/babel-traverse/lib/path/family.js:100:17)
at NodePath._getPattern (~node_modules/babel-core/node_modules/babel-traverse/lib/path/family.js:158:21)
at NodePath.get (~node_modules/babel-core/node_modules/babel-traverse/lib/path/family.js:103:17)
at transformClass (~node_modules/babel-preset-stage-1/node_modules/babel-plugin-transform-decorators/lib/index.js:63:32)
at PluginPass.ClassExpression (~node_modules/babel-preset-stage-1/node_modules/babel-plugin-transform-decorators/lib/index.js:155:30)
at newFn (~node_modules/babel-core/node_modules/babel-traverse/lib/visitors.js:233:27)
at NodePath._call (~node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:72:18)
at NodePath.call (~node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:44:17)
at NodePath.visit (~node_modules/babel-core/node_modules/babel-traverse/lib/path/context.js:102:12)
at TraversalContext.visitQueue (~node_modules/babel-core/node_modules/babel-traverse/lib/context.js:151:16)
The text was updated successfully, but these errors were encountered:
Just want to point out that the stage-0 preset includes stage-1 (and that includes stage-2), etc so you won't need to specify all of them. Also decorators aren't working currently so probably related to #2645
@hzoo: Thanks for the heads-up concerning the official presets. People should be aware of precedence issues when relying on it, most notably with ES7 property initializers in stage-1. See: #2729
Given I use the following babel config ...
... and use decorators on class methods like this ...
... the following Error is thrown ...
The text was updated successfully, but these errors were encountered: