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 th
There are two ways to solve this problem:
publishConfig
option in package.json
:"publishConfig": {
"registry":"https://npm.pkg.github.com/@OWNER"
},
.npmrc
file to your project with this content:registry=https://npm.pkg.github.com/@OWNER
replacing OWNER
with the name of the user or organization account on GitHub that owns the repository where you will publish the package.