Not Found - PUT https://npm.pkg.github.com/package-name

后端 未结 4 1025
慢半拍i
慢半拍i 2021-02-19 03:00

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

4条回答
  •  名媛妹妹
    2021-02-19 03:51

    Github Package registry expected the name properties on package.json to be "@{github username}/{package name} for example:-

    "name": "@pravanjan/local-time",
    "publishConfig": { 
         "registry": "https://npm.pkg.github.com/" 
     },
    

    This did work for me

提交回复
热议问题