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
{{ message }}
Repository navigation
useBabelInstrumenter:true does not work in ember 2.11 #131
Running tests with coverage (COVERAGE=true ember test) results hundreds of errors like:
Unable to cover: app/transforms/foo.js . Newer JS features may need Babel instumentation to work. Try setting useBabelInstrumenter to true in your config/coverage.js.
ReferenceError: [BABEL] app/transforms/ai-socialcode-audience-type.js: Using removed Babel 5 option: base.modules - Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules
for every file.
ember --version
ember-cli: 2.11.1
node: 6.11.1
os: darwin x64
Hi @les2 fancy seeing you here 😄 . Have you taken a look at #123 as @kategengler suggested? I am curious if any of the things done there help this situation.
Agreed. This should be resolved. I know we are running test coverage fine again in the apps @les2 was mentioning, so we should be good here. If anyone is still experiencing issues, please let us know!
Activity
kategengler commentedon Jul 30, 2017
Is the info in this issue (#123) helpful?
RobbieTheWagner commentedon Sep 30, 2017
Hi @les2 fancy seeing you here 😄 . Have you taken a look at #123 as @kategengler suggested? I am curious if any of the things done there help this situation.
Leooo commentedon Oct 29, 2017
I'm having the same problem with the following option in ember-cli-build:
or
ember-cli@2.10.0
ember@2.9.1 (need to update)
useBabelInstrumenteris also trueCan't move this option in a plugin as #123 suggested.
RobbieTheWagner commentedon Oct 30, 2017
@Leooo what version of ember-cli-babel are you on in your project?
Leooo commentedon Oct 30, 2017
@rwwagner90 6.8.2
alvincrespo commentedon Nov 3, 2017
I'm also running into this issue as well. The process also doesn't quit, it gets stuck.
config/coverage.js
package.json
ember-cli-build.js
alvincrespo commentedon Nov 3, 2017
I created an example repo that showcases this issue:
https://github.com/alvincrespo/ember-cli-code-coverage--babel-instrumentation-error
alvincrespo commentedon Nov 3, 2017
I'd like to note, that if there is no
config/coverage.jswe get:But if we include the
config/coverage.jswithuseBabelInstrumenterset to true, we get:alvincrespo commentedon Nov 3, 2017
As noted previously, this appears fixed on master?
I changed package.json from:
"ember-cli-code-coverage": "^0.4.2",to:
"ember-cli-code-coverage": "git://github.com/kategengler/ember-cli-code-coverage",RobbieTheWagner commentedon Nov 3, 2017
@alvincrespo looks like you are pulling in
ember-cli-babelinstead ofember-cli-code-coveragethere.alvincrespo commentedon Nov 3, 2017
oops - copied the wrong line. Updated my comment above.
RobbieTheWagner commentedon Nov 3, 2017
@alvincrespo that's odd that it works on master. There have been no commits to master since 0.4.2 was released.
alvincrespo commentedon Nov 3, 2017
Yeah, it's super weird. I've been in the weeds for about 3 hours now. Going to rest my 👀 and 🧠
Syzygy24 commentedon Jan 31, 2018
Any updates on this?
kategengler commentedon Jan 31, 2018
#141 and #145 have since been landed, which obsoleted the
useBabelInstrumenteroptionRobbieTheWagner commentedon Jan 31, 2018
Agreed. This should be resolved. I know we are running test coverage fine again in the apps @les2 was mentioning, so we should be good here. If anyone is still experiencing issues, please let us know!
les2 commentedon Apr 5, 2018
yep, everything's working now!