npm / registry-issue-archive

An archive of the old npm registry issue tracker
https://npm.community
249 stars 47 forks source link

published package doesn't show up in registry #386

Open bmacnaughton opened 6 years ago

bmacnaughton commented 6 years ago

I installed my package (terminal output follows) but at this point (15 minutes later) it does not show up at npmjs.com/package/appoptics-apm.

I can npm install appoptics-apm@5.4.0 and get the right version, so kind of as expected because a second attempt to publish failed due to a duplicate version, it appears to have been published correctly. It just doesn't appear in the registy.

terminal output:

appoptics@uxpanapa:~/appoptics-apm-node$ npm publish
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

> appoptics-apm@5.4.0 prepublish .
> gulp build

[14:40:31] Using gulpfile ~/appoptics-apm-node/Gulpfile.js
[14:40:31] Starting 'dist'...
[14:40:32] Finished 'dist' after 774 μs
[14:40:32] Starting 'dist/probes'...
[14:40:32] Finished 'dist/probes' after 246 μs
[14:40:32] Starting 'build'...
[14:40:32] Finished 'build' after 711 ms

> appoptics-apm@5.4.0 prepack .
> gulp build

[14:40:33] Using gulpfile ~/appoptics-apm-node/Gulpfile.js
[14:40:33] Starting 'dist'...
[14:40:33] Finished 'dist' after 621 μs
[14:40:33] Starting 'dist/probes'...
[14:40:33] Finished 'dist/probes' after 201 μs
[14:40:33] Starting 'build'...
[14:40:33] Finished 'build' after 700 ms
npm ERR! publish Failed PUT 401
Enter OTP: XXXXXX
+ appoptics-apm@5.4.0
appoptics@uxpanapa:~/appoptics-apm-node$ npm publish --otp=XXXXXX
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

> appoptics-apm@5.4.0 prepublish .
> gulp build

[14:42:16] Using gulpfile ~/appoptics-apm-node/Gulpfile.js
[14:42:16] Starting 'dist'...
[14:42:16] Finished 'dist' after 632 μs
[14:42:16] Starting 'dist/probes'...
[14:42:16] Finished 'dist/probes' after 302 μs
[14:42:16] Starting 'build'...
[14:42:16] Finished 'build' after 719 ms

> appoptics-apm@5.4.0 prepack .
> gulp build

[14:42:17] Using gulpfile ~/appoptics-apm-node/Gulpfile.js
[14:42:17] Starting 'dist'...
[14:42:17] Finished 'dist' after 667 μs
[14:42:17] Starting 'dist/probes'...
[14:42:17] Finished 'dist/probes' after 279 μs
[14:42:17] Starting 'build'...
[14:42:17] Finished 'build' after 715 ms
npm ERR! publish Failed PUT 403
npm ERR! code E403
npm ERR! You cannot publish over the previously published versions: 5.4.0. : appoptics-apm
bmacnaughton commented 6 years ago

OK, 20 minutes later it appears. I guess you can close this if you want, but that's a bit of a problem.