-
-
Notifications
You must be signed in to change notification settings - Fork 27k
[V5] PostCSS 8 error while building #11811
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
Comments
This should be the dependency with the problem:
|
create-react-app 5 should be using PostCSS 8 already. Can you figure out why other versions of PostCSS are in your path ( |
This is the full result of
|
|
Fixed! |
Describe the bug
While running
env-cmd -f .env.staging react-scripts build
I'm getting the following error:
The migration guide, clearly doesn't help. It's talking about CRA 3
Did you try recovering your dependencies?
I tried removing and adding everything 3 million times, as usual.
Which terms did you search for in User Guide?
Environment
I can't because some company policies.
I'm using MacOS
Steps to reproduce
Just run your build command (mine is
env-cmd -f .env.staging react-scripts build
). My command was working properly during 4 years. Broken after upgrading to V5Expected behavior
It should builds
Actual behavior
Not building.
The text was updated successfully, but these errors were encountered: