我已经安装了gulp -g,当我使用" gulp tsc"我从节点收到此消息。任何人都可以提供帮助
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 :(得分:0)
它说缺少火花包,你应该通过运行
来安装它npm install sparkles