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

Posted landv

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[OHIF-Viewers]医疗数字阅片-医学影像-安装问题相关的知识,希望对你有一定的参考价值。

 

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:UsersAdministratorAppDataRoaming
pm
ode_modulesyarnlibcli.js:56952:58)
    at C:UsersAdministratorAppDataRoaming
pm
ode_modulesyarnlibcli.js:56916:14
    at C:UsersAdministratorAppDataRoaming
pm
ode_modulesyarnlibcli.js:101331:14
    at Array.map (<anonymous>)
    at parseRcPaths (C:UsersAdministratorAppDataRoaming
pm
ode_modulesyarnlibcli.js:101329:78)
    at Object.findRc (C:UsersAdministratorAppDataRoaming
pm
ode_modulesyarnlibcli.js:101343:10)
    at getRcConfigForCwd (C:UsersAdministratorAppDataRoaming
pm
ode_modulesyarnlibcli.js:56915:74)
    at C:UsersAdministratorAppDataRoaming
pm
ode_modulesyarnlibcli.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]医疗数字阅片-医学影像-安装问题的主要内容,如果未能解决你的问题,请参考以下文章

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

[OHIF-Viewers]医疗数字阅片-医学影像-获取焦点的2种方式-ref

[OHIF-Viewers]医疗数字阅片-医学影像-REACT-React.createRef()-Refs and the DOM关于回调 refs 的说明

借力云原生,预见医学影像“云阅片”和电子胶片的未来 | 精选案例

AI医疗版App Store来了:GE发布“爱迪生魔盒”,集成各方医疗方案,李开复点赞...

MATLAB实战系列(三十二)-技术和医疗的完美结合,基于MATLAB的骨骼测量系统——医学影像研究