前言
错误信息:
These dependencies were not found:
* aws-sdk in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/info.js, ./node_modules/fsevents/node_modules/node-pre-gyp/lib/publish.js and 1 other
* module in (webpack)/lib/NormalModule.js, (webpack)/lib/node/NodeTargetPlugin.js
To install them, you can run: npm install --save aws-sdk modul
原因:
在页面打debug,手动拼的,输入了debug,按了回车,发现输入错了,又重新输出debugger。但是,这时候,在页面已经引入了这个:import { debug } from “webpack”;
所以导致启动报错,删掉即可。