javascript - Error installing Yeoman on Yosemite -
i'm trying several days install yeoman in os x can't =/
when try install error:
mac-pro:~ pauloricardo$ sudo npm -g yo password: > spawn-sync@1.0.11 postinstall /usr/local/lib/node_modules/yo/node_modules/cross-spawn/node_modules/spawn-sync > node postinstall sh: node: command not found npm err! darwin 14.3.0 npm err! argv "node" "/usr/local/bin/npm" "i" "-g" "yo" npm err! node v0.12.5 npm err! npm v2.11.2 npm err! file sh npm err! code elifecycle npm err! errno enoent npm err! syscall spawn npm err! spawn-sync@1.0.11 postinstall: `node postinstall` npm err! spawn enoent npm err! npm err! failed @ spawn-sync@1.0.11 postinstall script 'node postinstall'. npm err! problem spawn-sync package, npm err! not npm itself. npm err! tell author fails on system: npm err! node postinstall npm err! can info via: npm err! npm owner ls spawn-sync npm err! there additional logging output above. npm err! please include following file support request: npm err! /users/pauloricardo/npm-debug.log
i tried install root user , cleaning npm cache. same.
if wants see npm log, here's link: http://pastebin.com/arb6i58q
i'll grateful help
thanks in advance.
try running sudo npm install -g --unsafe-perm yo
. sort of permission issue. take @ github thread, offer few other solutions https://github.com/forbeslindesay/spawn-sync/issues/11.
Comments
Post a Comment