React启动报错These dependencies were not found:
React启动报错These dependencies were not found:
These dependencies were not found: * @tmp/history in ./src/pages/.umi/dva.js
拉下代码,npm install ,然后npm start ,报错:
这个应该是Umi 出现问题,把package.json 里面的umi 版本删除,
重新npm install ,
然后 cnpm install umi --save,
cnpm start ,报错。
报错后,删除掉node_modules,重新cnpm install,再cnpm start即可运行成功。
以上是 React启动报错These dependencies were not found: 的全部内容, 来源链接: utcz.com/z/383735.html