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
$> ember new myapp
$> cd myapp
$> ember install ember-attacher@^0.13.0
Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Function.addonProto._requireBuildPackages.transpileModules.pickFiles.initializeAddons.eachAddonInvoke._eachProjectAddonInvoke.args._fileSystemInfo.addonProto.(anonymous function).Addon.lookup (/tmp/todo/myapp/node_modules/ember-cli/lib/models/addon.js:1593:19)
at /tmp/todo/myapp/node_modules/ember-cli/lib/models/addons-factory.js:54:38
at visit (/tmp/todo/myapp/node_modules/ember-cli/lib/utilities/DAG.js:23:3)
From what I've found
This is most likely due to node@4.7.2 and Block-scoped declarations BUT
2 days ago we had ember-attacher working alright.
Hypothesis
Some (sub)dependencies of ember-attacher have permissive (^ or ~) and my problem is caused because some nested / nested / nested / nested dependencies have changed and now have non-compliant Block-scoped declarations
Potential solutions
Update nodejs
Look for the incriminated dependency(ies)
Something else???
What do you think? :)
The text was updated successfully, but these errors were encountered:
I'm honestly surprised node 4 was working at all 😉 You might notice that Travis is set to use node 6; I find Node 4's lack of even the basic creature-comforts quite painful to work with.
Stack
Steps to reproduce
From what I've found
This is most likely due to node@4.7.2 and
Block-scoped declarations
BUT
2 days ago we had ember-attacher working alright.
Hypothesis
Block-scoped declarations
Potential solutions
What do you think? :)
The text was updated successfully, but these errors were encountered: