You could use npm install -g, but it's dangerous. Node modules used for 
project should be always in project directory.
Using "master" folder could create a problem when you'd like to build two 
or more projects with same dependencies (i.e. Angular) but in different 
version (i.e Angular-beta4, and Angular 2.0). Newer version would overwrite 
the old version in master 'node_moules/angular' directory.

So my advice is to keep it as it is.


W dniu czwartek, 20 października 2016 19:29:22 UTC+2 użytkownik Jim Bell 
napisał:
>
> When I place the Angular2 startup package into a folder and run "npm 
> install", well over 20,000 files are written to the folder. When I use the 
> startup package for another project and run the required "npm install" 
> another 20,000+ files are written, etc. I have nodejs installed on my 
> windows development machine here. There must be a way to use a nodejs 
> "master" folder and not having to create the huge number of files each time 
> I start a new Angular2 project. Any ideas?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to