-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Build fails: Could not find plugin "proposal-numeric-separator" #8680
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Possible related to new |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
me too |
Hey everyone, thumbs up the original post. Adding "me too" just becomes noise to the maintainers |
This bug was fixed in Babel by babel/babel#11201, and here once #8620 gets released. |
Thanks @existentialism! Is there any solution/workaround in the meantime? |
I’m using [email protected], but still have the issue |
Ejecting and updating the babel dependency would be a way of fixing this in the meantime. |
+1 |
This comment has been minimized.
This comment has been minimized.
I am getting the same error when building angular 8 app in azure deveops pipeline "An unhandled exception occurred: [BABEL] D:\a\1\s\dist\web\main-es2015.02f4b8f684805898bcff.js: Could not find plugin "proposal-numeric-separator". Ensure there is an entry in ./available-plugins.js for it. (While processing: "D:\a\1\s\node_modules\@babel\preset-env\lib\index.js") |
+1 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
EDIT: update thanks to @mohsenari:
|
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
WARNING running command eject is one-way operation. thanks to @nicolo-ribaudo, the solution works with react-scripts 3.3.1 As @leetmachine says delete node_modules and yarn.lock |
@arinhouck just fyi, but your issue is a bit different, check out babel/babel#11298 |
Heroku updates the dependencies - hence the error.
Tried with "react-scripts": "3.4.0", and "react-scripts": "3.4.0" - no success. |
I did this and now I got the error about proposal-numeric-seperator locally |
@arinhouck 7.8.0-7.8.6 are the broken version. Try |
Please note that we fixed this bug 2 weeks ago in FYI, the bug was that |
I switched to those versions (7.8.7 and 7.9.0) then received my previous error again
|
@arinhouck see my message above re: |
@arinhouck We have an open PR for that, I hope to release it soon. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Looks like Yarn users are having an easier time fixing this issue? Might have to switch. |
I had to downgrade "react-scripts" to "3.0.0" for now, thee npm-force-resolutions approach didn't work for me on npm. |
The same here, I'm using npm instead of yarn and the solution with |
How did you do the downgrade ? |
@tacnoman Try adding |
Just change your package.json to: |
All the suggested solutions did not work until I used preinstall hook! Now it works on localhost and on heroku in production mode. |
This comment has been minimized.
This comment has been minimized.
Locking the thread to cut down on the excessive spam. We're actively working to make sure this is resolved. Please be patient. |
We think #8681 should resolve this without the PR from babel side as we shouldn't encounter that specific scenario here. |
Looks like we've fixed in #8661. Will be releasing shortly. Thanks for the patience everyone! |
This should be fixed in the 3.4.1 release. Update As always we recommend using and committing the package lock file to your repository. |
Describe the bug
Running
npm run build
will fail on any project, even on a vanilla app created withcreate-react-app
will fail with the following error:From our build pipelines I can tell it started roughly around Mar 20, 2020 4:48pm GMT+0100
Did you try recovering your dependencies?
I tried recovering the module tree and even verified with a vanilla app. It happens on my local machine and on our build machines with no changes involved there.
Which terms did you search for in User Guide?
(Write your answer here if relevant.)
Environment
Steps to reproduce
npx create-react-app my-app
cd my-app
npm run build
Expected behavior
The build is successful with no error.
Reproducible demo
As mentioned in the above sections a vanilla app is enough to reproduce.
npx create-react-app my-app
cd my-app
npm run build
The text was updated successfully, but these errors were encountered: