These are chat archives for jescalan/roots
I encountered issue with roots installation with this error:
npm ERR! Darwin 13.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "roots" "-g" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! email@example.com postinstall: `node ./post_install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the firstname.lastname@example.org postinstall script 'node ./post_install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the roots package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node ./post_install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs roots npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls roots npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/Mark/npm-debug.log npm ERR! code 1
I tried everything mentioned in the docs to fix the permission error but I still end up with the same error. I have the latest node and npm installed and I can successfully install package globally, I also changed permission and restarted Terminal but all to no avail. Before I decided to quit Roots with other static gen, I gave it another shot. I cloned the repo then run
npm install -g -- finally it worked! I'm a happy Roots user now.