Yarn support
See original GitHub issueThis is a Feature Proposal
Description
I created a .npmrc
in my home folder, then tried to use yarn publish
in a project.
- What went wrong?
I got the following in my terminal:
yarn publish v0.19.1
[1/4] Bumping version...
info Current version: 1.0.3
question New version: 1.0.4
info New version: 1.0.4
[2/4] Logging in...
question npm username: hassankhan.otpotp
question npm email: contact@hassankhan.me
question npm password:
success Logged in.
[3/4] Publishing...
success Published.
[4/4] Revoking token...
success Revoked login token.
error An unexpected error occurred: "https://l90d4v81rh.execute-api.eu-west-1.amazonaws.com/prod/registry/-/user/token/<myToken>: '<myToken>' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer <myToken>'.".
info If you think this is a bug, please open a bug report with the information provided in "/Users/hassankhan/Projects/yith-test/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.
- What did you expect should have happened?
It should have published like npm publish
would have.
Additional Data
- NPM CLI version you are using: 3.10.3
- Yarn CLI version you are using: 0.19.1
- Serverless version you’re using: 1.6.1
- Node version you’re using: 6.7.0
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
How to Get Yarn Support - Sister Mountain
Yarn support is when a yarn company agrees to give a designer free yarn to use in a knitting pattern design, whether published...
Read more >Home | Yarn - Package Manager
To support Ukraine in their time of need visit this page. Safe, stable, reproducible projects. Yarn is a package manager that doubles down...
Read more >What is yarn support and how do I get it?
Yarn support is great for designers, because it helps you save money (yay!) and you get to expand your network with another maker...
Read more >Yarn Support - Miss Babs
Miss Babs offers yarn support to designers in two different ways: through our formal pattern collections, and independently.
Read more >Getting Yarn Support for a Knitting Pattern - The Knitwit
Yarn Support is a way to get free yarn. Yarn companies will provide free yarn so that a knit designer can develop a...
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 FreeTop 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
Top GitHub Comments
Yikes, I omitted one critical piece of information. You need to add this to the end of your .npmrc for it to work with non-scoped packages:
always-auth=true
@brimworks https://github.com/craftship/codebox-npm/issues/30#issuecomment-283800500 great!