npm version issue~postversion: cannot run in wd %s %s (wd=%s)

(Neha) #1

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](

I gave "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.

(system) #2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.