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

yo webapp fails after installing globaly #27

Closed
metalmatze opened this issue Apr 25, 2013 · 2 comments
Closed

yo webapp fails after installing globaly #27

metalmatze opened this issue Apr 25, 2013 · 2 comments

Comments

@metalmatze
Copy link

I've recently installed yo with sudo npm -g install yo
I ran into the problem that npm creates the ~/tmp and ~/.npm as root. So later running yo webapp failed because yo couldn't write into tmp/.

I don't know if this is related to yo itself. But was a little bit tricky figuring it out.

@kevva
Copy link
Member

kevva commented Apr 25, 2013

http://howtonode.org/introduction-to-npm

sudo chown -R $USER /usr/local

@kevva kevva closed this as completed Apr 25, 2013
@addyosmani
Copy link
Member

Awesome. Thanks for the sanity check! I'll write a bit about this tomorrow.

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

3 participants