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

Angular integration installs wrong version of core-js #2070

Closed
ralfthewise opened this issue Apr 26, 2019 · 3 comments
Closed

Angular integration installs wrong version of core-js #2070

ralfthewise opened this issue Apr 26, 2019 · 3 comments

Comments

@ralfthewise
Copy link

Steps to reproduce:

rails new . --webpack=angular --force
bundle exec rails assets:precompile
...
ModuleNotFoundError: Module not found: Error: Can't resolve 'core-js/es6/reflect' in 'app/javascript/hello_angular'
...

Forcing version 2 of core-js fixes things:

yarn add core-js@~2
bundle exec rails assets:clobber
bundle exec rails assets:precompile
@janklimo
Copy link
Contributor

janklimo commented May 4, 2019

This will be resolved by #2031 which will include core-js 3 as a dependency with the corresponding config.

@guillaumebriday
Copy link
Member

Can this issue be closed ?

@jakehockey10
Copy link

Looks like it! Lol

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

5 participants