jvandemo / jvandemo/generator-angular2-library

How to change the name of the module to avoid this error

Open
#217 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
740
Forks
116
PR merge metrics
No merged PRs in 30d

Description

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!

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

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue mentions npm publish, package.json, and npm owner output, but no repository file or test. Start by comparing the package name and ownership information involved in the publish command; done would be a documented, reproducible publishing and ownership workflow that addresses the reported 403.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript, node.js
Domain
release
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.