Answer the question
In order to leave comments, you need to log in
Error when starting the server on React, how to fix it?
I just created a project and run - npm start and an error pops up - ./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: Package exports for 'C:\Users\Alexey\Desktop\Desktop\Mackets\react-pizza\node_modules\autoprefixer\node_modules\kleur' do not define a valid './colors' target
Answer the question
In order to leave comments, you need to log in
Updating node.js solves the problem.
=====
Attention! If the version of the node you need is not installed on Windows 7 (requires Windows 8+), then you need:
UPD:
option 1. just install the LTS version
option 2. Only if you need a non-LTS version, I gave detailed instructions in the comment.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question