码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-07-03 01:07:37      阅读:86      评论:0      收藏:0      [点我收藏+]

标签:影像   puppeteer   use   res   ini   ror   code   obj   ace   

 

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

yarn 运行问题

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

安装成功

技术图片

 

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

标签:影像   puppeteer   use   res   ini   ror   code   obj   ace   

原文地址:https://www.cnblogs.com/landv/p/13227705.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!