Issue with Installing Private GitHub Package: "405 Method Not Allowed" & "Incorrect Packument" #152016
Replies: 1 comment
-
The issue appears to stem from the metadata (packument) that GitHub’s Package Registry serves for your package. Essentially, after you bumped the patch version, the registry started returning unexpected data or using a method that npm does not recognize. This is why:
This indicates that the problem isn’t with npm itself, but rather with the way GitHub’s registry is handling your package’s metadata after the patch. |
Beta Was this translation helpful? Give feedback.
-
Private GitHub Package Installation
Question : Was working fine until the error : Incorrect Packument
Body
We have an internal package for our Database Queries, which is stored in the GitHub package registry and installed using the npm command. Now, since yesterday, when we bumped a patch version and successfully published it to the registry, installing it using the npm command gives a "405 Method Not Allowed" error.
So, we tried to install the previous version that we were using and got another error: "loading from incorrect packument." And keep in mind that it was working perfectly before our minor patch.
Beta Was this translation helpful? Give feedback.
All reactions