当前位置:网站首页>npm install 报 -4058错误
npm install 报 -4058错误
2022-07-21 13:35:00 【爱的叹息】
运行若依前端项目的时候遇到如下错误
运行
npm install --registry=https://registry.npmmirror.com
时报如下错误
E:\idea_workspace\study\ruoyi_project\RuoYi-Vue>npm install --registry=https://registry.npmmirror.com
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path E:\idea_workspace\study\ruoyi_project\RuoYi-Vue/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'E:\idea_workspace\study\ruoyi_project\RuoYi-Vue\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! D:\Program\nodejs\node_cache\_logs\2022-07-18T03_29_36_586Z-debug-0.log
原来是没有定位到vue项目的根目录
参考
边栏推荐
- 如何以创新驱动增长战略
- GMT learning notes
- 容器学习中的简答题
- 国内期货期货中信建投可以开户吗,安全吗?
- Detailed explanation of file upload basis
- How to draw PCB outline machining drawing
- ES6 从入门到精通 # 03:模板字符串
- GAN的发展系列三(LapGAN、SRGAN)
- Brats18 - Multimodal MR image brain tumor segmentation challenge continued 5
- Please write a function to replace 'ABC' in all string type elements in the list with 'BCD' [Hangzhou multi tester] [Hangzhou multi tester _ Wang Sir]
猜你喜欢
国产芯片价格超低在国产替代的同时大量出口,让美国芯片深感压力
The ultra-low price of domestic chips, while being replaced by domestic products, has led to a large number of exports, putting pressure on American chips
虚拟机无法连接互联网
HTTP cache policy, strong cache, negotiation cache
Detailed explanation of file upload basis
ES6 from introduction to mastery 01:es6 introduction
详解SOAP简单对象访问协议
“全光”时代的宠儿——400G光模块
图神经网络:GAT学习、理解、入坑
Some practical debugging skills of Chrome browser in Windows system
随机推荐
通用Service + 多线程完美解决批处理问题
多种方式Map集合遍历
C # use objects comparer to compare objects
快速幂写法
Codeforces Round #807 (Div. 2)
面试突击66:请求转发和请求重定向有什么区别?
如何清理C盘
(强制)要求覆写equals必须覆写hashCode(原理分析)
蔚来「城市」探索之路
在代码评审中用好这7招,很容易就能建立起你的反对同盟
并联型模糊PID复合控制器的simulink建模与仿真
记一次 .NET 某消防物联网 后台服务 内存泄漏分析
BraTS18——多模态MR图像脑肿瘤分割挑战赛续5
ES6 从入门到精通 # 02:let 和 const 命令
HTTP缓存策略,强缓存,协商缓存
Tensorflow入门教程(三十四)——常用两类图像分割损失函数
Microservice technology development
[JS foundation] logical judgment (error prone points)
Computer postgraduate entrance examination database question bank
【js基础】js中常用的操作数组的方法