如题,使用gulp打包发布项目的时候,package.json中的依赖包都已经安装了,node_moudle中也有对应的依赖包,可是在执行打包命令的时候,一直报错,说Error: Cannot find module 'css-font-parser' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (D:\node_modules\font-spider\src\spider\web-font.js:7:21) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (D:\node_modules\font-spider\src\spider\index.js:6:15) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32)对应package.json和node_moudle
添加回答
举报
0/150
提交
取消