generator-angular2-library
generator-angular2-library copied to clipboard
How to change the name of the module to avoid this error
It gives me this error
rahul@Rahul-PC:~/Angular/test-module$ npm publish dist
npm ERR! publish Failed PUT 403
npm ERR! Linux 4.10.0-35-generic
npm ERR! argv "/home/rahul/.nvm/versions/node/v7.9.0/bin/node" "/home/rahul/.nvm/versions/node/v7.9.0/bin/npm" "publish" "dist"
npm ERR! node v7.9.0
npm ERR! npm v4.2.0
npm ERR! code E403
npm ERR! You do not have permission to publish "test-module". Are you logged in as the correct user? : test-module
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/rahul/.npm/_logs/2017-10-08T16_17_47_592Z-debug.log
I did the npm login too but when check the npm owner it shows a different name why ? how to publish and change the owner
I tried changing the name in package.json but is dosnt help
change to the /dist folder and type: npm publish
Or increase the version of the library.