node安装不能正常使用 Error: ENOENT: no such file or directory, mkdir ‘D:\‘
Error: ENOENT: no such file or directory, mkdir ‘D:’
安装好node之后,运行npm命令总是会出现这样的报错
最近新电脑安装node发现莫名其妙
后来研究了好久才发现原来可以这样解决
解决
去你电脑中的c盘
去找到一个.npmrc
的文件
将下面内容按照自己的实际情况复制更改即可
prefix=C:\node.js\node_global
cache=C:\node.js\node_cache
registry=http://registry.cnpmjs.org/
node安装不能正常使用 Error: ENOENT: no such file or directory, mkdir ‘D:\‘相关推荐
- 解决Error: ENOENT: no such file or directory, scandir 安装node-sass报错
webpack打包时出现 Error: ENOENT: no such file or directory, scandir 解决方案是执行以下方法: npm rebuild node-sass 可是 ...
- npm error enoent:no such file or directory...are-we-there-yet ; package.json文件和node_modules模相互转化
vue-cli项目一段时间没有变动,几个星期后继续编辑安装 npm install vue-skeleton-webpack-plugin 插件时报错 npm error enoent:no suc ...
- Angular报错-Error: ENOENT: no such file or directory, scandir '/Users/echo_hx/node_modules'
2019-11-07 更新 我知道为啥报错了,自我好好反省一下!!! 所以,Mac的终端,不能用简写的命令,哭泣... 不过下面的,就可以看作安装卸载@angular/cli了 在全局安装angu ...
- 解决Error: ENOENT: no such file or directory, scandir
解决Error: ENOENT: no such file or directory, scandir 'xxx\node-sass\vendor' 前端项目持续部署打包中出现一个奇怪的问题,记录一下 ...
- 【已解决】Error: ENOENT: no such file or directory, open ‘F:\xxx\node_modules\echarts
背景 最近在做毕设项目的时候,需要用到 echarts 来渲染数据,突然遇到这个错误 Error: ENOENT: no such file or directory, open 'F:\xxx\no ...
- mac Error: ENOENT: no such file or directory, stat ‘/.VolumeIcon.icns
Error: ENOENT: no such file or directory, stat '/.VolumeIcon.icns # resolved sudo touch /.VolumeIcon ...
- GitBook运行报错 - Error: ENOENT: no such file or directory, stat
换一台电脑打开GitBook项目居然运行不了,gitbook serve和gitbook build都报错. Error: ENOENT: no such file or directory, sta ...
- 微信小程序项目启动错误“Error: ENOENT: no such file or directory, open”
在微信小程序上的使用示例,下载好了源码,新建了项目马上要开始了,但是突然提示错误:编译出错:Error: ENOENT: no such file or directory, open 'C:\Use ...
- Module build failed: Error: ENOENT: no such file or directory, scandir node_modules\node-sass\vendor
npm install 报错 Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\workspaces ...
最新文章
- 一定要加强SQL数据库SA
- DPDK — 扩展私有函数库
- centos7桌面登录root用户_CentOS7从一般用户切换到root用户
- XCTF-高手进阶区:ics-04
- Redis, Memcache 基本使用
- mock.js 在html中使用demo示例代码
- layui tree ajax刷新,layer 刷新某个页面的实现方法
- 教你在win10系统开启和使用语音识别
- UVALive 6888 Ricochet Robots bfs
- 双一流2020年调整时间_“双一流”调整名单预测,985大学两升一降,两校退出名校阵营...
- 2021年汽车电子之传感器行业研究报告
- 【Urule源码解析1】开源可视化规则引擎
- eclipse neno高级安装
- 路由器设备升级SNMP日志
- 电脑文件里哪里能用计算机,计算机管理怎么打开方法图解 计算机管理程序文件在哪里 电脑维修技术网...
- C语言之strcmp函数和strncmp函数
- Android获取手机方向
- 【逗老师带你学IT】ZoomRooms兼容硬件设计方案
- 中国信息化发展八大趋势(一)
- 计算机窗口移动不了怎么办,电脑鼠标拖不动文件怎么办 电脑鼠标拖动不灵敏如何解决...
热门文章
- 怎么看区块链正规项目与否,区块链投资前你应知道这三点
- 【装机知识】CPU散热器知识整理
- 云顶之弈机器人怎么拉人_LOL云顶之弈10.16b机器人怎么玩_云顶之弈10.16b机器人装备站位_3DM网游...
- 58到家,或将到不了家
- JVM性能调优2_垃圾收集器与内存分配策略__享学课堂
- 谷歌发布史上“最强大脑”——可以控制和操作机器人的AI模型
- 国标GB/T28181EasyGBS对接大华硬盘录像机NVR查询录像失败解决方案
- Linux程序设计 读笔2 Shell脚本
- EasyPlayer-rtsp播放器中码率及帧率统计的实现方法
- Puppy Linux作服务器,我为什么要用Puppy Linux