npm / npm/documentation

npm error code E413

Open
#1,691 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
712
Forks
4.2k
Avg merge
4d 16h
Merged PRs (30d)
3

Description

Hi, there does not appear to be a documented size limit for the service that I'm publishing to (NPMJS). However, once my package goes above 200MB I receive this error at the end of attempting to publish it.

npm error code E413
npm error 413 Payload Too Large - PUT https://registry.npmjs.org/com.*** - Payload Too Large
npm error A complete log of this run can be found in: /Users/***/.npm/_logs/***Z-debug-0.log

The log doesn't contain anything useful.

Has anyone else encountered this, is there a way to get around this and publish it? I've emailed NPMJS support but they have no limit supposedly.

TIA

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Review the npm publishing documentation and registry behavior around E413 and the reported 200 MB threshold; done means the applicable limit or uncertainty is documented with a supported explanation or workaround.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.