You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have upgraded my project from [email protected] to [email protected]. npm start is working fine but when I am going for the build, I am getting the below error. The build is working fine when I downgraded the application to [email protected]
_Creating an optimized production build...
Failed to compile.
static/css/main.161533bd.css from Css Minimizer plugin
Error: Unexpected '/'. Escaping special characters with \ may help._
Have got the issue of why it is happening after much effort, It is a comment issue (/* */) in the application, if you are facing the same issue, try to check your CSS files and see if you put any wrong comments or check the relative path for the images or background images which you might have given wrong can cause this issue. Hope it helps.
Describe the bug
I have upgraded my project from [email protected] to [email protected]. npm start is working fine but when I am going for the build, I am getting the below error. The build is working fine when I downgraded the application to [email protected]
_Creating an optimized production build...
Failed to compile.
static/css/main.161533bd.css from Css Minimizer plugin
Error: Unexpected '/'. Escaping special characters with \ may help._
Did you try recovering your dependencies?
Yes, I tried recovering my dependencies with [email protected], still, it is causing but working fine with [email protected]
npmPackages:
react: ^17.0.1 => 17.0.2
react-dom: ^17.0.1 => 17.0.2
react-scripts: 5.0.0 => 5.0.0
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
(Write your steps here:)
Expected behavior
Build should be created.
Actual behavior
The text was updated successfully, but these errors were encountered: