I am trying to use npm version to update
package.json script and push the required changes to the github repository. I have followed below link for the same
"postversion": "git push" command in the
package.json file. While using command -
npm version patch -m "Upgrade to %s for reasons" I am getting below
npm warn :postversion: cannot run in wd %s %s (wd=%s)
Any help is appreciated.