Not Found - PUT https://npm.pkg.github.com/package-name
问题 I'm trying to upload a package on GPR (Github Package registry). I log in successfully: npm login --registry=https://npm.pkg.github.com and then run these command: npm set registry https://npm.pkg.github.com/ npm publish which returns this error: npm ERR! 404 Not Found - PUT https://npm.pkg.github.com/package-name npm ERR! 404 npm ERR! 404 'package-name@version' is not in the npm registry. Seems it tries to upload a package on npm registry instead of github package registry. How should I fix