Npm installs 566 modules in my theme folder

Hi there,

I’m trying to update my laptop to all the latest versions and get my sage theme running.
Here’s what I did:

  1. updated to the latest version of node
  2. ran npm install -g npm@latest
  3. installed gulp and bower globally with npm install -g gulp bower
  4. ran npm install inside my theme folder

At this point it starts installing 566 modules in my theme folder?
All these modules are also installed globaly in ~/.npm/

What could be wrong?
There aren’t any errors during installation though?

Thanks

Is there an issue here other than the number of modules?

No not really, but it should only install the modules from package.json right?

And all of their dependencies

Yep mine installed 545. It installs all the deps and their deps recursively.

Ok thanks, I never really paid attention before how much modules were installed in there, but I know in my ‘older’ roots themes there were like 10 tops, so I was a bit surprised to find 566 of them!