0

I tried to run npm run deploy/ build but it doesn't work and throws this error in the terminal. I am a beginner to git and github and I want to upload my changes that I made in my latest commit to my github pages but it no matter how many time I tried, it always says fails to compile

the error message in terminal:

Creating an optimized production build... Failed to compile.

static/css/main.9391ac5d.css from Css Minimizer plugin Error: Unexpected '/'. Escaping special characters with \ may help.

1
  • 1
    Looking at the error message, there seems to be an unexpected "/" in your css. So, maybe check your css for any errors. Commented Aug 1, 2022 at 1:36

1 Answer 1

1

I think you have some extra characters which were added by mistake while commenting few things Check for any extra / or * in your css files

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.