Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

npm start command compiled with errors

I decided to create an app with React using VS Code. Ran the npm create-react-app ./ and was successful. Next I decided to run the command npm start but it compiled with errors like
/src/index.js and [eslint] src\index.jsur

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Make sure to execute npm start in the project directory, inside of the same folder where is located package.json

I would recommend to check npm version, and use npx for the creation of the react project, npx create-react-app myapp. and after execute something else, check the package.json content.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading