node.js - Trying to install yo with npm on Windows -
i on windows , trying follow instructions @ http://yeoman.io/learning/index.html. far have installed grunt-cli , bower when try install yo using following command...
npm install -g yo
...the command prompt returns this:
> spawn-sync@1.0.11 postinstall c:\users\aaron\appdata\roaming\npm\node_modules\yo\node_modules\cross-spawn\node_modules\spawn-sync > node postinstall npm err! windows_nt 6.3.9600 npm err! argv "c:\\program files\\nodejs\\\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo" npm err! node v0.12.4 npm err! npm v2.10.1 npm err! file ;c:\windows\system32\cmd.exe npm err! path ;c:\windows\system32\cmd.exe npm err! code elifecycle npm err! errno enoent npm err! syscall spawn ;c:\windows\system32\cmd.exe npm err! spawn-sync@1.0.11 postinstall: `node postinstall` npm err! spawn ;c:\windows\system32\cmd.exe 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! c:\users\aaron\appdata\roaming\npm\node_modules\npm-debug.log
does have idea hell means , how can fix it?
you can try : https://github.com/npm/npm/issues/7781
i think helps solve question.
and node & npm in cmd. can set node location in windows environment variable. restart cmd & try again this.
Comments
Post a Comment