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

Breaking Babel if rebuild npm packages #97

Closed
mullaney opened this issue May 11, 2018 · 1 comment
Closed

Breaking Babel if rebuild npm packages #97

mullaney opened this issue May 11, 2018 · 1 comment

Comments

@mullaney
Copy link

I deleted my package-lock.json file and the node_modules file and reran npm install in an effort to address numerous vulnerabilities that were brought up from running npm audit. After the install, when trying to run my tests, I ran into this problem:

On update to version 7.00-beta.46 Get Decorators Support Error

I solved it by removing the ^ wherever ^7.0.0-beta.40 appears in the package.json file and then ran npm install again:

    "@babel/core": "7.0.0-beta.40",
    "@babel/polyfill": "7.0.0-beta.40",
    "@babel/preset-env": "7.0.0-beta.40",
    "@babel/preset-react": "7.0.0-beta.40",
    "@babel/preset-stage-2": "7.0.0-beta.40",
    "@babel/register": "7.0.0-beta.40",

Perhaps the @babel version should be changed to not use the beta version which is susceptible to breaking changes from babel.

@mullaney
Copy link
Author

This looks like it's been addressed by @fterdal already in issue #95

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

1 participant