Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

help! problem installing yeoman tool. :/

having been trying to installed yeoman on my machine but keep getting this errors below.

npm ERR! Error: EACCES, unlink '/Users/JoeBoo/npm/lib/node_modules/yo/lib' npm ERR! { [Error: EACCES, unlink '/Users/JoeBoo/npm/lib/node_modules/yo/lib'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '/Users/JoeBoo/npm/lib/node_modules/yo/lib' } npm ERR! npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 14.0.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "yo" npm ERR! cwd /Users/JoeBoo npm ERR! node -v v0.10.35 npm ERR! npm -v 1.4.28 npm ERR! path /Users/JoeBoo/npm/lib/node_modules/yo/lib npm ERR! code EACCES npm ERR! errno 3 npm ERR! stack Error: EACCES, unlink '/Users/JoeBoo/npm/lib/node_modules/yo/lib' npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/JoeBo

4 Answers

Romain Gaget
Romain Gaget
24,449 Points

Joe

It looks like a right issue, give the full control to the folder where you want your project to be install and that should solve the problem.

Tried that but still not working :/

Romain Gaget
Romain Gaget
24,449 Points

did you enter the 'sudo' commande?

same problem when tried with sudo command.