Closed devinus closed 9 years ago
This is only after doing npm install --save-dev ember-browserify
and attempting to restart the app.
So this error happened before you added any import npm:my-module
statements?
Also, can you confirm that you are on the latest version of ember-browserify? The fact that your stack trace goes through esprima seems to indicate that this might be using an old verison.
I had to clear my cache. npm cache clear
@asakusuma The latest version of ember-browserify
is 1.0.0
which still uses Esprima.
Similar thing happen to me trying to use this: https://github.com/csantero/ember-sinon, the file where Esprima fails is this one: https://github.com/csantero/ember-sinon/blob/master/app/acceptance-tests/sinon.js
using master version of ember-browserify
works well
"ember-browserify": "ef4/ember-browserify",
@ef4 can yo bump to 1.0.1
so this commit https://github.com/ef4/ember-browserify/commit/7499952d1e1663f57785de58d3090725ea943230 goes to the new version
:+1: on bumping.
@devinus can you upgrade to 1.0.1 and see if that fixes the issue?
@asakusuma It does not. I unfortunately am using Babel features using the babel
key for things like https://github.com/rwjblue/ember-computed-decorators.
@devinus can you post the new stack trace? It's should be different since 1.0.1 uses acorn instead of esprima.
@devinus any update on this? If not I will close.
@asakusuma This is no longer a problem.
Not sure how to debug this: