D
D
Daniil Kuznetsov2020-10-16 14:45:10
React
Daniil Kuznetsov, 2020-10-16 14:45:10

React failed to compile css - how to solve the problem?

Good afternoon, I'm slowly learning react here and decided to return to my project after a couple of weeks, I drive in npm start and I see the following error (everything worked fine before):

Failed to compile
./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss! ./src/index.css)
Error: No valid exports main found for 'F:\Users\username\Web-programmirovanie\Workspace\ReactJS\social-network\node_modules\colorette'
This error occurred during the build time and cannot be dismissed.


I tinkered, tinkered and decided for the sake of experiment to simply create a new application with the standard create react app command, and actually when I start it I get exactly the same error.

I'm actually asking for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2020-10-16
@Gvynblade

https://github.com/facebook/create-react-app/issue...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question