Npm / Yo keeps asking for sudo permission
I tried to install generator - angularjs using Yo (Yoeman), without sudo.
I then get a Error: EACCES, mkdir '/usr/lib/node_modules/generator-angular'
If I type in sudo yo, yo tells me that I should not use sudo (which is
perfectly understandable).
I have a ~/node_modules directory - why does not yo install its packages
there?
Thanks!
No comments:
Post a Comment