ant-design-pro@2.1.1 build: umi build

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ant-design-pro@2.1.1 build: umi build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ant-design-pro@2.1.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

出现原因:项目里文件丢失了。

 

解决方案: 删除 node_modules,重新下载依赖

本人项目出现这个 问题的原因:360安全卫士自动删除了我项目的文件,它扫描以为存在不安全因素。在360安全卫士里把我的项目加白,不让扫描了。然后重新下载依赖就好了。

posted @ 2020-09-25 14:48  荷风伊夏  阅读(914)  评论(1编辑  收藏  举报