WaywardSpirit Posted January 24, 2017 Share Posted January 24, 2017 Hello Everyone, Thanks for reading this, I am having issues install the Yeoman scaffolding program and grunt.js. When doing npm install yo -g I run into this error. Ive installed Node.js prior to this but still having issues. Any help would be greatly appreciated, I cant afford to rip out anymore of my hair. Quote Link to comment Share on other sites More sharing options...
bruno_ Posted January 24, 2017 Share Posted January 24, 2017 Looks like permissions are missing. Try to run your command with sudo Quote Link to comment Share on other sites More sharing options...
mattstyles Posted January 24, 2017 Share Posted January 24, 2017 1 hour ago, bruno_ said: Try to run your command with sudo Don't do this, you get stuck having to run almost everything with sudo. Reinstall node properly so you don't have to sudo everything. You can reown a number of directories to solve it but its a ballache, an uninstall and reinstall is by far the easiest solution. Quote Link to comment Share on other sites More sharing options...
WaywardSpirit Posted January 24, 2017 Author Share Posted January 24, 2017 I feel dumb that it was a simple issue of uninstall and reinstall. Thanks Bruno and Matt for the replies so far it appears to be working. mattstyles 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.