The script is stuck trying to publish the package to NPM. The package is published to NPM but the step still has the loader and wont move to the next step (Pushing Tags).
Package is public
bitbucket repo is private
np --no-testsAfter successfully execute move to next step.
np - 5.1.3
Node.js -v12.13.0
npm - 6.12.0
Git - 2.21.0
OS - 10.14.6
Same here. Public package and public repo on github
Happening here as well.
np publishes to npm but hangs on "â ¦ Publishing package using npm".
Kinda in the dark as to where the error lies.
np - 5.2.1
Node.js - v10.16.0
npm - 6.13.4
Git - 2.21.0 (Apple Git-122.2)
OS - macOS Mojave 10.14.6
Fixed. Appears my mistake was setting np on the npm publish script:
// package.json
{
"scripts": {
"release": "np", // good
"publish": "np" // bad
}
}
Confirmed solution from @fa-repo works.
Perhaps this should be reopened. Good that there is a fix, but I think this will happen to a lot of people. Especially since the script hangs in this particular case.
Most helpful comment
Fixed. Appears my mistake was setting
npon thenpmpublishscript: