I am trying to start React project with create-react-app.
Got an error on npm start:
Failed to compile.
multi ./node_modules/react-scripts/config/polyfills.js ./node_modules/react-dev-utils/webpackHotDevClient.js ./src/index.js
Module not found: Can't resolve 'D:\' in 'D:\!!!DESKTOP\React-test\test-react'
How can I fix it?
Please follow these steps:
package-lock.json form the project's directory. npm install.npm start again.rm -rf node_modules to remove the node_modules folder and start again from step 1.Hope this helps. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With