2017-06-05 113 views
0

我已經安裝了gulp -g,並且當我使用「gulp tsc」時,我從節點收到此消息。任何人都可以幫助Nodejs無法找到模塊閃爍點

Error: Cannot find module 'sparkles' 
    at Function.Module._resolveFilename (module.js:470:15) 
    at Function.Module._load (module.js:418:25) 
    at Module.require (module.js:498:17) 
    at require (internal/module.js:20:19) 
    at Object.<anonymous> (C:\Users\mateus.leal\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\glogg\index 
.js:5:16) 
    at Module._compile (module.js:571:32) 
    at Object.Module._extensions..js (module.js:580:10) 
    at Module.load (module.js:488:32) 
    at tryModuleLoad (module.js:447:12) 
    at Function.Module._load (module.js:439:3) 

回答

0

它說,它缺少火花包,你應該通過運行

npm install sparkles 
安裝