ai icon indicating copy to clipboard operation
ai copied to clipboard

Bug: Can't run `npm run push` to commit changes

Open adiati98 opened this issue 1 year ago • 0 comments

Describe the bug

When I run npm run push to commit my changes, I got the error of Missing script: "push" as below screenshot:

missing push

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 .:

  1. Run npm run push command to commit changes.
  2. 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

adiati98 avatar Dec 18 '23 10:12 adiati98