2017-09-05 51 views
1

我recived,要我說,一飲而盡,gitinfo沒有在文件找不到模塊「吞掉-gitinfo」今天

module.js:491 throw err; ^

Error: Cannot find module 'gulp-gitinfo' at Function.Module._resolveFilename (module.js:489:15) at Function.Module._load (module.js:439:25) at Module.require (module.js:517:17) at require (internal/module.js:11:18) at Object. (E:\pcs_baku\PCS.Web\Public\gulpfile.js:24:17) at Module._compile (module.js:573:30) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3) at Module.require (module.js:517:17) at require (internal/module.js:11:18) at Liftoff.handleArguments (C:\Users\andrejgo\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:116:3) at Liftoff. (C:\Users..\AppData\Roaming\npm\node_modules\gulp\node_modules\liftoff\index.js:198:16) at module.exports (C:\Users..\AppData\Roaming\npm\node_modules\gulp\node_modules\flagged-respawn\index.js:17:3) at Liftoff. (C:\Users..\AppData\Roaming\npm\node_modules\gulp\node_modules\liftoff\index.js:190:9)

一些幫助發現錯誤,我該怎麼辦? 謝謝

+1

NPM安裝吞-gitinfo --save-dev的;或 鮑爾我gulp-gitinfo - 保存 –

+0

我的壞=> npm安裝,*解決* – Andrej

回答

2

npm install gulp-gitinfo --save-dev;

或亭子我吞掉-gitinfo --save