Sometimes it's possible to get an error like the following when trying to publish your NPM package to GitHub Package Registry using npm publish
:
npm ERR! code E400
npm ERR! 400 Bad Request - PUT https://npm.pkg.github.com/@myorg%2fmypackage - RepoAcceptsPackageUploads: Repository "myorg/mypackage" does not exist.