Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to publish package #89

Closed
hassankhan opened this issue Jun 24, 2017 · 1 comment
Closed

Error trying to publish package #89

hassankhan opened this issue Jun 24, 2017 · 1 comment

Comments

@hassankhan
Copy link
Contributor

hassankhan commented Jun 24, 2017

This is a Bug Report

Description

  • What went wrong?
    Attempted to publish package after logging in.

  • What did you expect should have happened?
    Should have published the package.

  • What was the config / env variables you used?
    Err.. mostly my env arguments?

  • What stacktrace or error message did you
    experience?

$ npm publish
npm ERR! registry error parsing json
npm ERR! publish Failed PUT 413
npm ERR! Unexpected token H in JSON at position 0
npm ERR! HTTP content length exceeded 10485760 bytes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/hassankhan/.npm/_logs/2017-06-24T20_53_19_366Z-debug.log

Similar or dependent issues:

Additional Data

  • NPM CLI version you are using: 4.6.1
  • Serverless version you're using: 1.11.0
  • Node version you're using: 6.10.0
@hassankhan
Copy link
Contributor Author

Ahh it was my own fault ... was accidentally including generated HTML docs into the dist/ folder 😱

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant