yo webapp grunt-by-yo 使用這個(gè)命令是出現(xiàn)這樣的錯(cuò)誤,有伙伴遇到過(guò)嗎,實(shí)在是不知道怎么解決
C:\Users\Administrator\grunt-in-action\grunt-by-yo>yo webapp grunt-by-yo
module.js:339
? ? throw err;
? ? ^
Error: Cannot find module 'readable-stream'
? ? at Function.Module._resolveFilename (module.js:337:15)
? ? at Function.Module._load (module.js:287:25)
? ? at Module.require (module.js:366:17)
? ? at require (module.js:385:17)
? ? at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modul
es\generator-webapp\node_modules\yeoman-generator\node_modules\yeoman-environmen
t\node_modules\mem-fs\node_modules\vinyl-file\node_modules\strip-bom-stream\node
_modules\first-chunk-stream\index.js:3:14)
? ? at Module._compile (module.js:435:26)
? ? at Object.Module._extensions..js (module.js:442:10)
? ? at Module.load (module.js:356:32)
? ? at Function.Module._load (module.js:311:12)
? ? at Module.require (module.js:366:17)
? ? at require (module.js:385:17)
2016-06-13
npm install -g readable-stream? 你缺少這個(gè)模塊 缺什么你就安什么
2016-06-05
試試npm install -g?readable-stream?