No docs on how to publish public scoped packages
See original GitHub issueExpected Behavior
- able to
lerna publish
public scoped packages
Current Behavior
lerna ERR! execute Error: Command failed: npm publish --tag latest
lerna ERR! execute npm ERR! publish Failed PUT 402
lerna ERR! execute npm ERR! Darwin 15.6.0
lerna ERR! execute npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish" "--tag" "latest"
lerna ERR! execute npm ERR! node v7.10.0
lerna ERR! execute npm ERR! npm v4.2.0
lerna ERR! execute npm ERR! code E402
lerna ERR! execute
lerna ERR! execute npm ERR! You need a paid account to perform this action.
Possible Solution
- get some docs on how to do so. the readme suggests that this is supported. i’ll submit the patch if i can find the info!
Steps to Reproduce (for bugs)
lerna publish
in a project compose of scoped packages
Issue Analytics
- State:
- Created 6 years ago
- Reactions:12
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Creating and publishing scoped public packages - npm Docs
Publishing scoped public packages ; On the command line, navigate to the root directory of your package. cd /path/to/package ; To publish your...
Read more >Publishing an Org Scoped Package · npm Orgs Documentation
This page will teach you how to publish an Organization scoped package, both publicly and privately. This page will also teach you how...
Read more >How to Create and Publish a Scoped NPM Package ... - Medium
Publish your NPM Package · Browse to the root of your project · Run npm adduser · When prompted, enter the account name...
Read more >Publish a scoped NPM package for your organization - LinkedIn
I became familiar with many new terms through this. As a part of the organization, you can create and publish public and private...
Read more >How to publish NPM Scoped Packages / NPM scope not found?
After you have created the organization, you can publish your package named @npmtestscope/firstpackage by executing npm publish --access public ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes the solution in https://github.com/lerna/lerna/issues/178#issuecomment-261736824 works for publishing scoped packages. Check out https://github.com/hshoff/vx for an example repo. It’s been working for me since March when I started the project.
As mentioned in https://github.com/lerna/lerna/issues/178#issuecomment-261736824, the solution is to add the following to each packages
package.json
:This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.