wynd @wynd

im trying to move 400k files from my Code folder on my C: drive to my code folder on my E: drive…

gosh darn node_modules

Sep 17, 2023, 2:54 PM
6

comments

delete all your modules and reinstall all dependencies you actually use

i had to delete all folders called node_modules then do that yeah. took a long time

i’m no expert, but does node_modules just download to the directory that the npm install command was run inside of?

so something like:

~$ cd project
/project/~$ npm install express

would be different from just installing it like

~$ cd
~$ npm install express

if that’s not the case, you should probably just install everything in your home folder or something

i honestly hate the node_modules folder lol

yes i was going to do that but then vite doesn’t like that for some reason

yeah, most templates like vue starters or nuxt starters are kinda goofy like that