A complete log of this run can be found in no such file or directory 前端项目一直启动不了
今天来记录一下踩坑日记:
最后解决是重新配置了环境变量;下面是详细步骤:
1,卸载你的nodejs,再就是安装你的nodejs
2,输入 npm root -g 查看当前你的依赖下载路径
如果是 C:\Users\用户名\AppData\Roaming\npm
那么执行下面两行命令
npm config set prefix "D:\nodejs\node_global"
npm config set cache "D:\nodejs\node_cache"
D:\nodejs\node_global 盘符\nodejs是我安装Node JS的目录 node_global是今后下载依赖包的放置目录 node_cache是防止缓存的(具体不太清楚)
具体环境变量配置
1 NODE_PATH
2 自动生成的不用管 在 系统变量-->path-->D:/nodejs/
3 配置一个 D:\nodejs\node_global 切记是在用户变量下
至此环境配置好了,跑前后端项目请看我的上一篇博客。
A complete log of this run can be found in no such file or directory 前端项目一直启动不了相关推荐
- npm ERR! cb.apply is not a function npm ERR! A complete log of this run can be found in: npm ERR!
npm ERR! cb.apply is not a function npm ERR! A complete log of this run can be found in: npm ERR! C: ...
- 【解决】npm ERR A complete log of this run can be found in npm ERR
有一些同学可能想配置react的运行环境,苦于不同的电脑遇到千奇百怪的问题和ERROR.下面是我遇到问题对应的解决方案,希望对你们有帮助. 本来我们的基本步骤是: 下载好nvm文件 在里面下载node ...
- 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 ...
- 运行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报错:A complete log of this run can be fund in:解决方案
今天学习vue_人力资源管理系统项目遇到一个问题: 就是在npm 安装项目依赖包(node_modules)报错:A complete log of this run can be found in: ...
- 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 ...
- 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: npm ERR ...
- 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 ...
最新文章
- 关于ACM写给自己啦
- java array arraylist_java 基础 array arraylist..越详细越好。
- Javascript实现边框闪动
- c++ 函数的指针调用
- 74cms3.0——Error:Can‘t select MySQL database(74cms3.0)...
- ubuntu11.04下配置中文输入法
- 与php有区别_php://output和php://stdout的区别
- javascript 性能 · 平稳退化、渐进增强
- java中写sql语句的小小细节
- 常用CNN网络(AlexNet,GoogleNet,VGG,ResNet,DenseNet,inceptionV4)适合初学者
- 关于Firefox浏览器设置默认字体的教程
- ASP.NET里的路径的使用-预备篇
- [转] 各船公司认识
- 微信小程序计算三角形面积和三棱锥体积
- Kali学习 | 无线渗透:7.5 Gerix 破解 WEP
- ExtJS控件主要功能用法
- 屏蔽百度搜索结果中的广告
- 百度杯CTF Write up集锦 WEB篇
- springboot2初期笔记存档
- 【Python】【进阶篇】十二、Python爬虫的Xpath简明教程(十分钟入门)
热门文章
- css字体适配rem 根据屏幕大小变换字体大小
- linux配置raid50怎么配置,如何在服务器主板上配置 Raid 10/50/60
- 心理学学习(二)心理学与人生:利手
- 干货| 详解狄利克雷分布(LDA)、二项分布、Beta分布、多项分布
- c语言注释的作用文百,C语言注释-C语言行注释-C语言注释块注释-嗨客网
- C/C++编程学习 - 第17周 ④ 向量点积计算
- 软件磁盘阵列配置-RAID5
- 什么是格式良好的XML文件
- 如何学习Android开发编程-初学者的5个步骤
- 阿迪达斯大中华区2019年第二季度销售额大增14%