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 #4

Closed
hikaoffical1 opened this issue Dec 31, 2022 · 2 comments
Closed

Error #4

hikaoffical1 opened this issue Dec 31, 2022 · 2 comments

Comments

@hikaoffical1
Copy link

npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2022-12-31T16_57_51_525Z-debug-0.log
exit status 1

@Audomations
Copy link

in your package.json file put the the following json inside:

"scripts": {
    "start": "index.js"
}

@face-hh
Copy link
Owner

face-hh commented Dec 31, 2022

Alternatively you can run node . instead of npm run start.

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

No branches or pull requests

4 participants