Open ushnishdeybhowmik opened 2 years ago
cd into the folder you want to create my-app then run this in your terminal npx create-react-app my-app cd my-app npm run start
this should work
Just use the vite and run:
npm init vite
Then, select the react template
Go to package.json file and under dependencies: re-write start as "start" : "node node_modules/react-scripts/bin/react-scripts start"
Then go to your terminal & run the command: npm run start
Describe the bug
After doing a clean installation of React using
npx create-react-app my-app
in my-app folder, thenpm start
command failed to initialize the development server and produced MODULE NOT FOUND errorEnvironment
Cannot seem to fix the issue please help!