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 trialChristian Kroul
9,849 PointsError
npm WARN deprecated exec@0.1.4: deprecated in favor of builtin child_process.execFile /usr/local/bin/gulp -> /usr/local/lib/node_modules/gulp/bin/gulp.js /usr/local/bin/foundation-apps -> /usr/local/lib/node_modules/foundation-cli/bin/cli.js
foundation-cli@1.1.2 postinstall /usr/local/lib/node_modules/foundation-cli node lib/welcome.js
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied path.js:422 var path = (i >= 0) ? arguments[i] : process.cwd(); ^
Error: EACCES: permission denied, uv_cwd at Error (native) at Object.posix.resolve (path.js:422:50) at startup (node.js:92:32) at node.js:951:3 /usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "foundation-cli" "bower" "gulp" npm ERR! node v4.1.1 npm ERR! npm v2.14.7 npm ERR! code ELIFECYCLE
npm ERR! foundation-cli@1.1.2 postinstall: node lib/welcome.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the foundation-cli@1.1.2 postinstall script 'node lib/welcome.js'.
npm ERR! This is most likely a problem with the foundation-cli package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/welcome.js
npm ERR! You can get their info via:
npm ERR! npm owner ls foundation-cli
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /Users/aaron/npm-debug.log Christians:~ aaron$ npm owner ls foundation-cli gakimball geoff@zurb.com antjanus antonin@antjanus.com
1 Answer
peyton caseria
Courses Plus Student 12,281 PointsSo, this should put you in the right direction.
https://github.com/npm/npm/wiki/Troubleshooting this link glitches, when you goto that page click NPM at the top, the one on the left to redirect backwards. Next time copy the error ex: npm ERR! and search it on google for the most recent results, typically it'll be the first result! there are extra characters at the end of it I can't remove lol.
use places like github they are reliable.