Can npm publish work for registry.js.ipfs.io?
See original GitHub issueI have registry.js.ipfs.io setup as my registry in ~/npmrc
. Whenever I npm publish
I have to remember to add --registry=https://registry.npmjs.com
or it fails. For js-ipfs I get the following error but I think I get a different error for other modules.
npm notice
npm http request PUT https://registry.js.ipfs.io/ipfs
npm http 413 https://registry.js.ipfs.io/ipfs
npm ERR! registry error parsing json
npm ERR! publish Failed PUT 413
npm ERR! Unexpected token < in JSON at position 0
npm ERR! <html>
npm ERR! <head><title>413 Request Entity Too Large</title></head>
npm ERR! <body bgcolor="white">
npm ERR! <center><h1>413 Request Entity Too Large</h1></center>
npm ERR! <hr><center>nginx/1.14.0</center>
npm ERR! </body>
npm ERR! </html>
Is it possible to proxy it or configure npm with a different registry for publishing or something?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
npm on IPFS
A local-network npm proxy on a Raspberry Pi · Cache npm modules for you · Connected to the IPFS network · Publish IPNS...
Read more >npm-ipfs-registry-fetch - npm package - Snyk
The npm package npm-ipfs-registry-fetch was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package ...
Read more >Ipfs NPM - npm.io
Yes, however, bare in mind that there isn't a 100% stable solution to use WebRTC in Node.js, use it at your own risk....
Read more >A Simple Guide to Publishing an npm Package - Medium
In this guide, I will walk you through the process of building and publishing a simple package to the npm registry.
Read more >Js-ipfs local node connectivity review - Events - Fission Talk
By default js-ipfs connects to 4 *.preload.ipfs.io , 4 bootstrap.libp2p.io , and 4 delegate nodes. We have been told that those are demo ......
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
I think you can also set
registry
in thepackage.json
of a project to ensure it’s always published to that registry.*phew*