Getting Error 402 while publishing package using npm

后端 未结 4 2255
不思量自难忘°
不思量自难忘° 2021-02-18 12:46

I am using npm version 2.15.11 and node version 4.7.2 on ubuntu 14.04. I want to publish my packages. when i use the command:

npm publish

i am geting the error:

4条回答
  •  悲哀的现实
    2021-02-18 13:36

    Run

    npm publish --access=public
    

    the first time you publish a scoped package.

    The default access setting is private, but for this you need a paid account. Hence the error message.

提交回复
热议问题