当前位置:网站首页>Internal/validators js:124 throw new ERR_ INVALID_ ARG_ Type (name, 'string', value) -- solution
Internal/validators js:124 throw new ERR_ INVALID_ ARG_ Type (name, 'string', value) -- solution
2022-07-02 20:33:00 【JackieDYH】
Wrong content
C:\Users\user>nrm test
internal/validators.js:124
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^
[TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:124:11)
at Object.join (path.js:375:7)
at Object.<anonymous> (D:\ProgramFiles\nvm\v14.16.0\node_modules\nrm\cli.js:17:20)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
] {
code: 'ERR_INVALID_ARG_TYPE'
}
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
-> install nrm-
Solution
find nvm Folder installation location , open cli.js The first 17 Line to
Be careful : Everyone's address may be different , This is my file address - ( own node Installed directory ...\v14.16.0\node_modules\nrm)
//const NRMRC = path.join(process.env.HOME, '.nrmrc'); // notes
const NRMRC = path.join(process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'], '.nrmrc'); // increase
- 1.
- 2.
Test after saving
边栏推荐
- 笔记本安装TIA博途V17后出现蓝屏的解决办法
- 【Hot100】23. Merge K ascending linked lists
- 面试经验总结,为你的offer保驾护航,满满的知识点
- 八年测开经验,面试28K公司后,吐血整理出高频面试题和答案
- Google Earth Engine(GEE)——Landsat 9影像全波段影像下载(北京市为例)
- What is online account opening? Is it safe to open an account online now?
- Istio deployment: quickly start microservices,
- 通信人的经典语录,第一条就扎心了……
- Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of shock absorber oil in the global market in 2022
- Interested parties add me for private chat
猜你喜欢
HDL design peripheral tools to reduce errors and help you take off!
Basic concept of database, installation and configuration of database, basic use of MySQL, operation of database in the project
Customized Huawei hg8546m restores Huawei's original interface
GCC: Graph Contrastive Coding for Graph Neural NetworkPre-Training
Jetson XAVIER NX上ResUnet-TensorRT8.2速度與顯存記錄錶(後續不斷補充)
c语言链表--待补充
CRM Customer Relationship Management System
Cs5268 perfectly replaces ag9321mcq typec multi in one docking station solution
Review of the latest 2022 research on "deep learning methods for industrial defect detection"
通信人的经典语录,第一条就扎心了……
随机推荐
功能、作用、效能、功用、效用、功效
Basic concept of database, installation and configuration of database, basic use of MySQL, operation of database in the project
API documentation tool knife4j usage details
【Hot100】21. Merge two ordered linked lists
攻防世界pwn题:Recho
HDL design peripheral tools to reduce errors and help you take off!
Resunet tensorrt8.2 speed and video memory record table on Jetson Xavier NX (continuously supplemented later)
接口测试到底怎么做?看完这篇文章就能清晰明了
【Hot100】23. 合并K个升序链表
CRM客户关系管理系统
What are the benefits of multi terminal applet development? Covering Baidu applet, Tiktok applet, wechat applet development, and seizing the multi platform traffic dividend
Activation function - relu vs sigmoid
面试经验总结,为你的offer保驾护航,满满的知识点
Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of sound quality head simulators in the global market in 2022
I did a craniotomy experiment: talk about macromolecule coding theory and Lao Wang's fallacy from corpus callosum and frontal leukotomy
Complete example of pytorch model saving +does pytorch model saving only save trainable parameters? Yes (+ solution)
Resunnet - tensorrt8.2 Speed and Display record Sheet on Jetson Xavier NX (continuously supplemented)
笔记本安装TIA博途V17后出现蓝屏的解决办法
At compilation environment setup -win
Taiwan SSS Xinchuang sss1700 replaces cmmedia cm6533 24bit 96KHz USB audio codec chip