Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors out with babel 6 #44

Open
igorT opened this issue May 21, 2020 · 1 comment
Open

Errors out with babel 6 #44

igorT opened this issue May 21, 2020 · 1 comment

Comments

@igorT
Copy link
Contributor

igorT commented May 21, 2020

If you run this in a repo that has ember-cli-babel 6, you will get a random looking error
Build failed.
Build Error (broccoli-persistent-filter:Babel > [Babel: @ember/test-helpers]) in monkey-patches.js

Cannot find module '@babel/helper-call-delegate'
Require stack:

  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/plugin-transform-parameters/lib/params.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/plugin-transform-parameters/lib/index.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/preset-env/lib/available-plugins.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/preset-env/lib/index.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/core/lib/config/files/plugins.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/core/lib/config/files/index.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/core/lib/index.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/broccoli-babel-transpiler/lib/worker.js

Build failed.
Build Error (broccoli-persistent-filter:Babel > [Babel: @ember/test-helpers]) in monkey-patches.js

Cannot find module '@babel/helper-call-delegate'
Require stack:

  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/plugin-transform-parameters/lib/params.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/plugin-transform-parameters/lib/index.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/preset-env/lib/available-plugins.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/preset-env/lib/index.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/core/lib/config/files/plugins.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/core/lib/config/files/index.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/@babel/core/lib/index.js
  • /Users/iterzic/code/ember-data-model-fragments/node_modules/@ember/test-helpers/node_modules/broccoli-babel-transpiler/lib/worker.js

It would be nice to error out with a nicer error message.

@rwjblue
Copy link
Member

rwjblue commented May 21, 2020

Ya, we can definitely make a better error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants