项目报错A complete log of this run can be found in:...

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了项目报错A complete log of this run can be found in:...相关的知识,希望对你有一定的参考价值。

参考技术A git glone项目,执行npm install以后,报错具体信息如下图:

解决过程:1.尝试删除node_moudles文件夹,并且执行 npm  cache clean --force 清除缓存-------> 结果失败

2.由于以前工作遇到过因为node-sass文件安装不了导致报错的问题,准备采取以前的方法(从同事那里拷贝一份node-sass文件,复制到node_moudles里面),此时执行npm install,发现不报错,高高兴兴接着执行npm run dev 运行项目,发现页面空白,打开控制台才发现仍然报错,但是报错的信息跟之前不一样,是这样的:

点开https://github.com/sass/node-sass.....发现最新tags版本是4.14.1,2而项目中用的是4.11.0,于是打开项目,删除node_modules文件夹,在package.json中将node-sass依赖版本手动改为4.14.1,然后执行npm install , 没有报错,并且成功安装了node-sass,最后执行npm run dev运行项目,发现项目已经成功运行起来了。

以上是关于项目报错A complete log of this run can be found in:...的主要内容,如果未能解决你的问题,请参考以下文章

(在本地运行项目)npm报错:npm ERR! missing script: start npm ERR! A complete log of this run can be found in:

a-second-operation-started-on-this-context-before-a-previous-operation-completed

com.netflix.discovery.DiscoveryClient : Completed shut down of DiscoveryClient

LeetCode 958. Check Completeness of a Binary Tree

10 Easy Steps to a Complete Understanding of SQL

反射报错java.lang.IllegalArgumentException: wrong number of arguments