Pdf.js: Switch stable version on NPM

Created on 1 Jun 2020  路  7Comments  路  Source: mozilla/pdf.js

It looks like updating NPM when making a release stable does not yet work, even though we looked into this before. I made version 2.4.456 stable today, but NPM still shows version 2.3.200. What did work is updating the next tag for pre-release 2.5.207, so it looks like the release script doesn't handle release updates correctly in contrast to release creations which work.

Please find the cause of this, and for now update the latest tag on NPM to version 2.4.456 manually.

1-other

Most helpful comment

I update npm again. Thought I used the same command as before but I guess not.

All 7 comments

Updated the tag.

Hm, I'm not sure if it worked correctly. It has been updated, but it seems that the v prefix should not be there. Contrary to the GitHub tags, the NPM tags only consist of the version number. Visiting https://www.npmjs.com/package/pdfjs-dist/v/v2.4.456 also results in a not-so-gracefully handled React error on NPM, which is also surprising.

Could you re-push the latest tag with just 2.4.456 as version?

I am also getting an npm error as of this morning.

Yes, NPM seems to have some problems with the tag name. Fortunately https://www.npmjs.com/package/pdfjs-dist/v/2.4.456 already exists, we just need to re-push the latest tag to fix this.

There seems to be some issues with the latest tag and npm. Might be related to this issue.
https://www.npmjs.com/package/pdfjs-dist won't even load; Service Unavailable.

I update npm again. Thought I used the same command as before but I guess not.

This works now. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aaronshaf picture aaronshaf  路  3Comments

kleins05 picture kleins05  路  3Comments

liuzhen2008 picture liuzhen2008  路  4Comments

anggikolo11 picture anggikolo11  路  3Comments

zerr0s picture zerr0s  路  3Comments