node.js - Npm "yo" command error -


i trying use angular-generator when used "yo" command following error:

module.js:338     throw err;       ^ error: cannot find module 'rx'     @ function.module._resolvefilename (module.js:336:15)     @ function.module._load (module.js:278:25)     @ module.require (module.js:365:17)     @ require (module.js:384:17)     @ object.<anonymous> (c:\users\luis\appdata\roaming\npm\node_modules\yo\nod e_modules\inquirer\lib\ui\prompt.js:6:10)     @ module._compile (module.js:460:26)     @ object.module._extensions..js (module.js:478:10)     @ module.load (module.js:355:32)     @ function.module._load (module.js:310:12)     @ module.require (module.js:365:17)     @ require (module.js:384:17) 

i try update yeoman using "npm update -g yo" didn't receive answer in command line

as per comments:

from tutorial page install command should like:

npm install -g yo bower grunt-cli gulp

worst case, npm install -g rx , see if gets past error.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -