Open aikomastboom opened 10 years ago
Please change your config to allow larger packages:
# maximum size of uploaded json document
# increase it if you have "request entity too large" errors
max_body_size: 10mb
The default is 10mb, and this limitation is done mostly for security reasons, because dealing with large packages is very memory-consuming. 17Mb won't be an issue, but 250Mb with newer npm versions can crash some systems.
Worked for me! Thanks
Worked for me as well
Upgrading our node stack the following came to light.
node 0.10.23 with npm 1.3.17. doing a npm publish works fine for us.
upgrading to node 0.10.24 or higher with npm 1.3.21 or higher results in the following error:
on the sinopia side we see:
a 0.10.23 publish looks like this:
note: This particular a-package is about 17Mb in size. note 2: With node 0.10.23 we have no trouble publishing packages 250Mb in size.