OHIF Medical Imaging Viewer 安装

3 篇文章 0 订阅
2 篇文章 0 订阅

正常的步骤

https://github.com/OHIF/Viewers.git

  • git clone https://github.com/OHIF/Viewers.git
  • cd  Viewers
  • Add this repo as a remote named upstream
    • git remote add upstream https://github.com/OHIF/Viewers.git
  • yarn install to restore dependencies and link projects

错误1 :

ERROR: [Errno 2] No such file or directory: 'install'

sudo apt remove cmdtest
sudo apt remove yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn -y
yarn install

ubuntu - Yarn install command error No such file or directory: 'install' - Stack Overflow

错误2:

The engine "node" is incompatible with this module. Expected version "^8.12.0 || >=9.7.0". Got "8.10.0"

$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ node -v
v10.16.3

 Error on yarn install: `The engine "node" is incompatible with this module` · Issue #2172 · Chocobozzz/PeerTube · GitHub

然后运行:

yarn install 应该就可以了

 

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值