前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >[OHIF-Viewers]医疗数字阅片-医学影像-安装问题

[OHIF-Viewers]医疗数字阅片-医学影像-安装问题

作者头像
landv
发布2020-07-03 10:37:53
8380
发布2020-07-03 10:37:53
举报
文章被收录于专栏:landvlandv

Installation Problem: [TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Receiv ed type boolean] #7985

yarn 运行问题

代码语言:javascript
复制
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type boolean (true)
    at validateString (internal/validators.js:121:11)
    at resolve (path.js:139:9)
    at loadRcFile (C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:56952:58)
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:56916:14
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:101331:14
    at Array.map (<anonymous>)
    at parseRcPaths (C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:101329:78)
    at Object.findRc (C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:101343:10)
    at getRcConfigForCwd (C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:56915:74)
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:92694:56

 faced same issue today. for me it was the invalid config in .yarnrc that caused this problem. I got global-folder config with value true, which was wrong. And I deleted this config and then issue fixed.

删除c:\用户\adinistrator 下的 .yarnrc就好了

gyp问题

https://github.com/nodejs/node-gyp

npm config set msvs_version 2017

puppeteer问题

 npm i -g puppeteer

安装成功

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-07-02 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Installation Problem: [TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Receiv ed type boolean] #7985
    • yarn 运行问题
      • gyp问题
        • puppeteer问题
        领券
        问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档