Skip to content
This repository has been archived by the owner on Jul 28, 2019. It is now read-only.

server error when uploading packages with no dependencies #2

Closed
rbuckheit opened this issue Apr 8, 2016 · 1 comment
Closed

server error when uploading packages with no dependencies #2

rbuckheit opened this issue Apr 8, 2016 · 1 comment
Labels

Comments

@rbuckheit
Copy link
Contributor

The server errors out when a package with no dependencies is uploaded. This is because node_modules does not get created in the data directory, and then we try to tar an archive that isn't there.

repro:

  1. create a package.json with no dependencies or devDependencies
  2. submit the package via an npmserve install

expected: return a tarball which decompresses, yielding an empty node_modules
actual: server 500 error, server responds with an error.

@rbuckheit
Copy link
Contributor Author

fixed in #17

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

No branches or pull requests

1 participant