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
Hi, I just upgraded to Ember 2.13 from 2.8, updated a bunch of dependencies together with this plugin.
When I try to build for production, I get a very long error which starts with:
broccoli-babel-transpilerisoptingoutofcachingduetoapluginthatdoesnotprovideacachingstrategy: (babel)=>{constt=babel.types// cache for performanceconstparseMap={}return{visitor: {Identifier(path,state){if(path.parent.type==='MemberExpression'){return;}if(path.parent.type==='ClassMethod'){return;}if(path.isPure()){return;}if(!state.opts.hasOwnProperty(path.node.name)){return;}letreplacementDescriptor=state.opts[path.node.name]if(replacementDescriptor===undefined||replacementDescriptor===null){replacementDescriptor=t.identifier(String(replacementDescriptor))}//.....PropertykeyofObjectPropertyexpectednodetobeofatype["Identifier","StringLiteral","NumericLiteral"]butinsteadgot"BooleanLiteral"atFile.transform(node_modules\ember-cli-conditional-compile\node_modules\babel-core\lib
\transformation\file\index.js:548:35)atnode_modules\ember-cli-conditional-compile\node_modules\babel-core\lib\transformation\
pipeline.js:50:19atFile.wrap(node_modules\ember-cli-conditional-compile\node_modules\babel-core\lib\transformation\file\index.js:564:16)atPipeline.transform(node_modules\ember-cli-conditional-compile\node_modules\babel-core
\lib\transformation\pipeline.js:47:17)atPromisenode_modules\ember-cli-conditional-compile\node_modules\broccoli-babel-transpiler\lib\parallel-api.js:102:26)atinitializePromise(node_modules\rsvp\dist\rsvp.js:567:5)atnewPromise(node_modules\rsvp\dist\rsvp.js:1033:31)atObject.transformString(node_modules\ember-cli-conditional-compile\node_modules\broccoli-babel-transpiler\lib\parallel-api.js:101:12)atBabel.transform(node_modules\ember-cli-conditional-compile\node_modules\broccoli-babel-transpiler\index.js:80:22)atBabel.processString(node_modules\ember-cli-conditional-compile\node_modules\broccoli-babel-transpiler\index.js:180:15)atPromise.then.result.output(node_modules\broccoli-persistent-filter\lib\strategies\persistent.js:41:23)
I don't really know what do to. I tried uninstalling this addon, and the build was successful.
UPDATE
I have a property in one of my services, named exactly the same as the feature flag.
If I remove it, or rename the property, it builds (except for the opting out of cache part). Even if I make it myFeatureFlag: true, it still doesn't work. Is this something expected?
NEW UPDATE:
I installed version 1.0.2 of this addon, and it works. 1.0.3 fails. So there seems to be an issue with this pull request: #41
The text was updated successfully, but these errors were encountered:
Hi, I just upgraded to Ember 2.13 from 2.8, updated a bunch of dependencies together with this plugin.
When I try to build for production, I get a very long error which starts with:
I don't really know what do to. I tried uninstalling this addon, and the build was successful.
UPDATE
I have a property in one of my services, named exactly the same as the feature flag.
If I remove it, or rename the property, it builds (except for the opting out of cache part). Even if I make it
myFeatureFlag: true
, it still doesn't work. Is this something expected?NEW UPDATE:
I installed version 1.0.2 of this addon, and it works. 1.0.3 fails. So there seems to be an issue with this pull request: #41
The text was updated successfully, but these errors were encountered: