Private Github Registry NPM packages published are giving undefined shasum, unable to resolve packages. [Potential Fix in comments] #151913
Replies: 12 comments 20 replies
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Exactly same issue here on our organisation. |
Beta Was this translation helpful? Give feedback.
-
We experienced similar problems, but could make our publishes work again by removing non-standard characters (in our case 👕) from our package.json (we had that in one of our scripts). Edit: This also applies to other files, most prominently READMEs. See findings from @bennyk8y https://github.com/orgs/community/discussions/151913#discussioncomment-12266008 |
Beta Was this translation helpful? Give feedback.
-
We're experiencing the same issue since today's package release. This issue affects all our package, none of them can publish a new version correctly. |
Beta Was this translation helpful? Give feedback.
-
Same issue here. I changed 1 character a tried to redeploy a package that previously deployed with no issue. Running "npx pack" on the newly deployed version results in "ERR! Invalid package, must have name and version". Glad I found this thread! |
Beta Was this translation helpful? Give feedback.
-
I am also experiencing the same issue, which started today, with no significant difference from the previously successfully published package. |
Beta Was this translation helpful? Give feedback.
-
Same issue here as well. Yesterday running |
Beta Was this translation helpful? Give feedback.
-
moreover, once published a "broken" package, it is impossible to get that module also from a previous (working) version. the only way to re-enable module import is to manually delete the broken version of the package |
Beta Was this translation helpful? Give feedback.
-
We are also experiencing this issue, however, it only seems to be happening with one of our packages. |
Beta Was this translation helpful? Give feedback.
-
Experiencing the same issue over here. |
Beta Was this translation helpful? Give feedback.
-
Try removing the README file. Don't ask me why, but it worked. |
Beta Was this translation helpful? Give feedback.
-
Instead of removing non-standard characters, another solution that worked for us was upgrading Yarn to version 4.6.0, which is now a major stable release. We followed the official step-by-step migration guide provided here: Yarn Migration Guide. However, a heads-up—upgrading Yarn may not be a viable solution for everyone, as it requires updating CI configurations, package release tooling, and other dependencies in your workflow. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Since last night any newly published packages are returning the following undefined details when using the command
npm view
Normally it is like this :
Locally the pack command is generating a valid tarball. We have checked multiple things locally and are able to use the compiled tarball directly, however with npm registry because of undefined shasum, the package is not downloadable and always errors out.
Edit :
Please check this for a potential fix :
#151913 (comment)
Beta Was this translation helpful? Give feedback.
All reactions