ai
ai copied to clipboard
Bug: Can't run `npm run push` to commit changes
Describe the bug
When I run npm run push
to commit my changes, I got the error of Missing script: "push"
as below screenshot:
It happens because there is no "push" command listed in the scripts.
Suggestion
Add "push" to the "scripts" in the package.json
.
Steps to reproduce
After running git add .
:
- Run
npm run push
command to commit changes. - You will get the error of
Missing script: "push"
.
Browsers
No response
Additional context (Is this in dev or production?)
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributing Docs
- [X] I agree to follow this project's Contribution Docs