Friday 21 April 2017

Publishing large NPM packages

I'm trying to publish large npm package to a private Nexus 3 nmp repository, but the operation fails with the following error

npm ERR! node v7.7.4
npm ERR! npm  v4.1.2

npm ERR! "toString()" failed
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

The problem is at V8 level and appears when building the request for publishing to Nexus.

It's not a good practice to publish large npm packages, but it's a third party plugin, and we need it for the project.

Is there a way to configure/patch V8 to support bigger file size ?

What is the request format for uploading npm package to nexus, so I can try to transform the package to encoded string using some other tool ?



via Nenad

No comments:

Post a Comment