-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
au build cannot find module babel-runtime #443
Comments
I've also tried dropping down to node 6.8.1 and npm 3.10.8 to no avail. |
The culprit was when I updated to babel-preset-es2015-loose@8.0.0 (originally Aurelia CLI has it at Removing babel-preset-es2015-loose from I'll keep the issue open in case we want to update the CLI config (feel free to close it), but I assume most people are more careful when updating dependencies 😭 so this may not be an issue for others. |
@lebolo Would you mind submitting a PR to the CLI project for the update? That would be a nice contribution. |
Sure @EisenbergEffect, just to confirm, are you comfortable requiring babel-preset-es2015@6.13.0 (up from 6.9.0 in the current CLI code)? |
I don't see any issues with that. Are you aware of any problems? |
Actually, reading the releases, we should require at least babel-preset-es2015@6.13.2 (6.13.0 introduced some regression bugs that were fixed in 6.13.2). I'll update the PR and you can squash the commits if you'd like. |
Done, thanks! |
I'm submitting a bug report
aurelia-cli: 0.23.0 (see output of
npm ls --depth=0
below)I notice that aurelia-cli installs its own version of npm@3.10.10 even though I have npm@4.0.5 installed globally
Please tell us about your environment:
Operating System:
Windows 7
Node Version:
7.2.1
NPM Version:
4.0.5
Language:
ESNext
Current behavior:
When I try to build via
au build
I get the error below. I have tried starting from scratch:npm install npm -g
(npm@4.0.5)npm install aurelia-cli -g
(aurelia-cli@0.23.0)npm install
au build
I tried
npm install babel-runtime
explicitly, but that does not work.Expected/desired behavior:
Aurelia to build successfully.
All project dependencies and their versions
The text was updated successfully, but these errors were encountered: