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

too much node_modules #24

Open
pimoGit opened this issue Jan 17, 2018 · 4 comments
Open

too much node_modules #24

pimoGit opened this issue Jan 17, 2018 · 4 comments

Comments

@pimoGit
Copy link

pimoGit commented Jan 17, 2018

Thanks for this repo, it's so useful to play and learn.

It seems though that when you run npm install on a project folder it installs a lot of useless modules. Am I missing something or it's an issue?
This way the node_modules folders are on an average of 100-150 MB.
Thanks!

@gustavostuff
Copy link

gustavostuff commented Feb 25, 2018

that's one of the disadvantages of these kind of projects, but it's worth all that space (and please note, a lot of those modules are just for development, once you export this to production the size of the project becomes considerably smaller)

@pimoGit
Copy link
Author

pimoGit commented Feb 26, 2018

I see.
I was just wondering why so many useless modules.
Maybe the product of a lot of tries and then never delete them.
Thanks, @tavuntu

@gustavostuff
Copy link

gustavostuff commented Feb 26, 2018

I haven't tried this myself, but they say it works for this problem (it reduces the size of node_modules by symlinking some stuff), maybe you'll want to take a look :)
https://www.npmjs.com/package/linklocal

@pimoGit
Copy link
Author

pimoGit commented Feb 26, 2018

I will take a look, thanks!

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

2 participants