vue 创建webpack项目失败
发布于 1年前 作者 a47776183b 860 次浏览 来自 问答

这是报错 module.js:472 throw err; ^ Error: Cannot find module ‘buffer-shims’ 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\wxd\AppData\Roaming\npm\node_modules\vue-cli\node_modules_readable-stream@2.2.9@readable-stream\lib_stream_readable.js:33:18) 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)

3 回复

提示是说没找到buffer-shims这个module,你看看,你确定install成功了吗

重新下载 npm install

Cannot find module ‘buffer-shims’ npm install buffer-shims 试试

回到顶部