Everytime I try to create a brand new project with create-react-app I get this error:
Error: Cannot find module 'react-scripts/scripts/init.js'
THE WAY I CREATE PROJECT:
npx create-react-app new-project
node -v v12.13.1
npm -v 6.12.1
OS Win10
already tried:
npm uninstall -g create-react-app
- different project paths
by the way:
- the problem disappears when I use
--use-npm
flag
Any ideas what the reason can be?