ERROR Error: Cannot find module 'webpack/lib/RuleSet'
Require stack:
- E:\workspace\fronttest\my-project\node_modules\@dcloudio\vue-cli-plugin-uni\lib\configure-webpack.js
- E:\workspace\fronttest\my-project\node_modules\@dcloudio\vue-cli-plugin-uni\index.js
- E:\workspace\fronttest\my-project\node_modules\@vue\cli-service\lib\Service.js
- E:\workspace\fronttest\my-project\node_modules\@vue\cli-service\bin\vue-cli-service.js
Error: Cannot find module 'webpack/lib/RuleSet'
Require stack:
- E:\workspace\fronttest\my-project\node_modules\@dcloudio\vue-cli-plugin-uni\lib\configure-webpack.js
- E:\workspace\fronttest\my-project\node_modules\@dcloudio\vue-cli-plugin-uni\index.js
- E:\workspace\fronttest\my-project\node_modules\@vue\cli-service\lib\Service.js
- E:\workspace\fronttest\my-project\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._resolveFilename (E:\workspace\fronttest\my-project\node_modules\module-alias\index.js:49:29)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (E:\workspace\fronttest\my-project\node_modules\@dcloudio\vue-cli-plugin-uni\lib\configure-webpack.js:4:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
uni-app Error: Cannot find module ‘webpack/lib/RuleSet‘
最新推荐文章于 2024-05-22 15:34:17 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)