Closed illiteratewriter closed 6 years ago
Hi @illiteratewriter, the prepublish
is part of the npm publish
hook which I used to publish this module to NPM. I am not sure why do you need run this command yourself. But have you installed parallelshell
? what's your npm
version?
npm
version is 5.6.0. prepublish
is also run when we do npm install
or running yarn
. So I think it is being run when I do npm install
also though there is no need to do so. There's a new script called prepublishOnly
and prepublish
has been deprecated apparently. So can I change it to the new prepublishOnly
and do a PR?
sure,PR welcome!
@illiteratewriter thanks for the fix! :+1:
Both
npm install
andyarn
is throwing this error. npm version 5.6.0 and yarn version 1.3.2 using Windows 10