TypeError [ERR_INVALID_ARG_TYPE]: The “path“ argument must be of type string(已解决)
这个问题是因为你的包的cill.js问题出现了识别window版本的问题,所以导致出现这种问题
解决思路
这时候VScode终端会肯定会显示这一段出错包的路径,你顺着这个找到cill.js文件,把里面的
NRMRC(环境变量)后面的表达式改成
const NRMRC = path.join(process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'], '.nrmrc');
直接改,没事的这就是对window版本做了判断
TypeError [ERR_INVALID_ARG_TYPE]: The “path“ argument must be of type string(已解决)相关推荐
- TypeError [ERR_INVALID_ARG_TYPE]: The “path“ argument must be of type string. Received undefined
问题描述 Koa 框架 使用 node.js 的第三方模块 path 报错 控制台报错 postman报错 原因 版本问题,把 file 全部返回查看,file.path 不存在 解决办法 把 fi ...
- 运行gitbook init命令报错及问题解决办法 TypeError [ERR_INVALID_ARG_TYPE]: The “data“ argument must be of type stri
运行gitbook init命令报错,错误信息如下: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be o ...
- Vue项目 报错TypeError [ERR INVALID ARG TYPE]: The “path“ argument must be of type string
# Vue项目 报错TypeError [ERR INVALID ARG TYPE]: The "path" argument must be of type string 卡了半 ...
- The “path“ argument must be of type string. Received undefined
The "path" argument must be of type string. Received undefined "path"参数必须是字符串类型. ...
- 运行fis3 server start --type smarty启动时,报错The “data“ argument must be of type string or an instance of
运行fis3 server start --type smarty启动时突然,报错The "data" argument must be of type string or an ...
- hexo部署到github时,提示typeError [ERR_INVALID_ARG_TYPE]: The “mode“ argument must be integer. Receive...
最近在部署hexo博客到github时,遇到了这样一个报错: 查阅相关文章得知,是node版本过高导致的(我用的是v14.11.0),将node版本换为v10.16.0版本后,部署就成功了! 如果你的 ...
- 成功解决TypeError: Scalar value for argument 'color' is not numeric
成功解决TypeError: Scalar value for argument 'color' is not numeric 目录 解决问题 解决思路 解决方法 解决问题 TypeError: Sc ...
- Python报错TypeError: Tuple or struct_time argument required
错误原因,类型出错误啦,转换不了! 我的解决: >>> time.mktime(time.localtime()) 1545053905.0 具体就看下面的! 我的报错: >& ...
- TypeError: argument 1 has unexpected type 'NoneType'(解决办法)
self.search.clicked.connect(self.search_information(e)) 在使用connect时,报TypeError: argument 1 has unexp ...
最新文章
- asp.net 安装element ui_Vue组件库系列三:打造属于自己的 UI 库文档(新版本的方案)...
- Spring MVC中@RequestParam和@PathVariable批注之间的区别?
- SpringBoot JPA
- 架构之Nginx(负载均衡/反向代理)
- MySQL 索引分析除了 EXPLAIN 还有什么方法?
- Objective-c方法调用流程
- java 多线程 信号量_Java核心-多线程(7)-并发控制器-Semaphore信号量
- Spring mybatis源码学习指引目录
- 关于socket中阻塞,非阻塞,同步,异步的概念
- 双人聊天php,js实现双人五子棋小游戏
- 直播APP软件开发,直播系统开发的技术架构揭秘
- 小精灵无尽的长廊_神奇宝贝之无尽系统
- Native Instruments Guitar Rig 5 Player WiN-MAC 免费的电吉他效果器
- ParticleSystem中的Culling Mode对耗时有怎样的影响
- OpenGL中的gl,glu,glut的区别
- nz-table数据动态横向合并
- 中间件weblogic部署详情
- iTunes备份路径Windows[Debug]
- linux下,文件名带括号如何处理
- MySQL自带的数据库界面化工具MySQL Workbench的安装