Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error that occur in vs code that i cann't run program: #13697

Open
ad-kd opened this issue Oct 22, 2024 · 2 comments
Open

error that occur in vs code that i cann't run program: #13697

ad-kd opened this issue Oct 22, 2024 · 2 comments

Comments

@ad-kd
Copy link

ad-kd commented Oct 22, 2024

PS C:\Users\Hp\Documents\New react project> npm start
npm error Missing script: "start"
npm error
npm error Did you mean one of these?
npm error npm star # Mark your favorite packages
npm error npm stars # View packages marked as favorites
npm error
npm error To see a list of scripts, run:
npm error npm run
npm error A complete log of this run can be found in: C:\Users\Hp\AppData\Local\npm-cache_logs\2024-10-22T14_14_21_973Z-debug-0.log
image

@saikot-paul
Copy link

Check your package.json if under scripts there is start your file should have something like:

...other code... "scripts": { "start": "react-scripts start" ....other code...

@atharvams
Copy link

image

Check your package.json > scripts section. Then run command "npm run start OR npm run build", etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants