解决yarn start提示 These dependencies were not found问题
发布网友
发布时间:2023-02-08 12:21
我来回答
共1个回答
热心网友
时间:2023-10-09 07:05
These dependencies were not found:
[0] * /Users//Desktop/xxx/xxx/node_moles/@umijs/babel-preset-umi/node_moles/@babel/runtime/helpers/esm/assertThisInitialized in ./src/pages/xx/gift/xx/index.jsx, …………
1、删除node_moles包
2、删除package.json中umi的依赖包
3、运行 yarn
4、运行yarn add umi@3.4.8 -D
5、运行yarn start
结果:未出现These dependencies were not found提示