npm报错:A complete log of this run can be fund in:解决方案
今天学习vue_人力资源管理系统项目遇到一个问题:
就是在npm 安装项目依赖包(node_modules)报错:A complete log of this run can be found in:
导致项目启动不了
解决方法:
1、删除node_modules文件夹,重新安装一次即可
npm i
然后使用npm run dev重新启动命令就可以了
如果上述方法还是不能解决问题,依然报错
那么可以将整个文件全部删除,重新克隆下载,重新安装依赖包
克隆到本地
git clone https://gitee.com/panjiachen/vue-admin-template.git
安装依赖包( 建议不要用 cnpm 安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题)
npm install --registry=https://registry.npm.taobao.org
重新启动项目
npm run dev
运行截图
如果以上方法都不能成功,直接使用我分享的node_modules文件夹, 放到工程根目录, 解压. 就不用npm i 了。
百度盘:node_modules项目依赖包下载
密码:liqi
npm报错:A complete log of this run can be fund in:解决方案相关推荐
- npm报错:A complete log of this run can be fund in: C\Users\administrator\AppData\Roaming\npm-cache_log
报错信息: A complete log of this run can be fund in: C\Users\administrator\AppData\Roaming\npm-cache_log ...
- npm报错:A complete log of this run can be fund in: C\Users\用户\AppData\Roaming\npm-cache_logs\解决方案(清理缓)
.因项目中安装模块,多次不成功,所以导致报错. A complete log of this run can be fund in: C\Users\用户\AppData\Roaming\npm-ca ...
- npm报错:A complete log of this run can be fund in
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\用户名\AppData- 解决方法: 删除C:\Users ...
- Vue报错-npm ERR,missing script: serve npm ERR, A complete log of this run can be found in:
项目场景: Vue项目启动报错,麻了,仔细一看发现文件夹路径不对. 解决方案: 使用cd命令切换到该vue目录下:或者用编译器重新打开正确的项目. 比如我的项目文件夹的路径是D/Demo/TypeSc ...
- 运行VUE项目时,出现npm ERR! A complete log of this run can be found in:...报错
运行VUE项目时,出现npm ERR! A complete log of this run can be found in:报错时,分享以下一种解决方案. 本机的 node版本如下 解决方法 1. ...
- npm 报错 : npm ERR! Maximum call stack size exceeded npm ERR! A complete log of this run can be found
之前,在npm下载包的时候出现一个错误: npm ERR! Maximum call stack size exceeded npm ERR! A complete log of this run c ...
- 报错:A complete log of this run can be found
报错:npm ERR! Cannot read property 'parent' of null npm ERR! A complete log of this run can be found i ...
- 【环境篇 npm 报错】npm ERR gyp ERR stack import sys; print “%s.%s.%s“ % sys.version_info[:3];
问题描述 npm ERR! code 1 npm ERR! path D:\user\Desktop\NiSown\node_modules\node-sass npm ERR! command fa ...
- npm报错npm ERR code ELIFECYCLE
目录 一.问题描述 二.解决方法 一.问题描述 npm 执行报错 npm ERR! code ELIFECYCLE: npm ERR! code ELIFECYCLE npm ERR! errno 1 ...
最新文章
- MPMovieplayercontroller
- Fiori hide Header text in task list
- gRPC在C#中的未来属于grpc-dotnet
- pcl里面使用KdTree来搜索
- 机器视觉光源亮度应如何选择
- hdu2847(2009多校第四场) 01串添加最少01使被k整除(暴力)
- ppt使用记录之添加带圈的20以内的数字编号
- The Unsolvable Problem
- 查询mysql当前连接并删除_查看mysql已有用户并删除
- Windows server服务器FTP设置以及客户端FlashFXP连接FTP
- 数据比赛资料(杂合)
- java 实现 ppt或pptx文件转换PDF文件 -- poi
- mysql_图形界面工具
- 欧拉回路(欧拉路径)
- “泰迪杯”挑战赛 - 通过数据挖掘技术实现道路缺陷自动识别
- 硬盘提示初始化是什么意思?数据会丢失吗?
- 电子商城数据库建表心得
- 解决C#后台返回json数据双引号转义为quot;问题
- heic图片转换jpg教程
- 几个shell初学者必会脚本