workshopper / how-to-npm

A module to teach you how to module.
https://www.npmjs.com/package/how-to-npm
ISC License
1.09k stars 212 forks source link

npm publish needs a paid account #123

Open hmntptwl opened 7 years ago

hmntptwl commented 7 years ago

Hi I want to verify whether a paid account is compulsory for publishing my package.I am attaching a log here. 2017-04-29T15_40_08_454Z-debug.txt. capture33

Or if there an option to locally publish a package.

ashleygwilliams commented 7 years ago

hi! if you want to publish a scoped package and not pay you can use the --access public flag on the npm publish command to publish it as a public scoped package!

e.g. npm publish --access public

ashleygwilliams commented 7 years ago

(you are getting this error because scoped packages have a default --access restricted which publishes the package as a private package which is a paid feature of npm)

hmntptwl commented 7 years ago

Thanks it worked :)