Repository navigation
Question : Is the installed package really 795.3 MB ? #1535
Copy link
Copy link
Closed
Labels
coretype: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Activity
This just came up on Twitter: https://twitter.com/mluggy/status/770221258533380096
Old versions of npm don't run
dedupefor you. This is a command which finds compatible ranges of dependencies between your dependencies, and removes them from disk. Since npm version 3,dedupeis run before downloading any dependencies, so no extra disk space or download time is wasted.For example, on npm 3,
npm install google-cloudresults in a ~45MB download. With npm 2, you get the larger download size (~700MB from my testing). If you runnpm dedupe, you should end up around the npm 3 size.So the two options for best results are;
- Upgrade
npmto version 3.x - If that's not possible, run
npm dedupeafter installing
Reacted by Avner Sorek- Upgrade
- addedtype: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
on Aug 29, 2016 I've added a note in our Troubleshooting docs explaining this: #1536
- added a commit that references this issue
on Mar 17, 2026 - added a commit that references this issue
on Mar 27, 2026 - added a commit that references this issue
on May 5, 2026
Metadata
Metadata
Assignees
Labels
coretype: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
I installed 0.38.3.
The folder in the node_modules directory is 795.3 MB.
For micro-services this is really uncomfortable it increases a lot of install and transfer times and requires bigger storage spaces for my machines.
And the only thing I'm using is BigQuery.
Did I get something wrong ? Is there a way to install just BigQuery ?