这是我的系统:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic但是命令
sudo apt-get update && sudo apt-get install gauge通向
Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Err:2 https://dl.bintray.com/gauge/gauge-deb stable InRelease
403 Forbidden我的Ubuntu版本现在有没有Gauge包?
在同一个URL下描述的安装的NPM变体会导致
sudo npm install -g @getgauge/cli
/usr/local/bin/gauge -> /usr/local/lib/node_modules/@getgauge/cli/bin/gauge
> @getgauge/cli@1.1.8 install /usr/local/lib/node_modules/@getgauge/cli
> node ./src/index.js
Fetching download url for Gauge version 1.1.8
Downloading https://github.com/getgauge/gauge/releases/download/v1.1.8/gauge-1.1.8-linux.x86_64.zip to ./bin
TypeError: "listener" argument must be a function
at ClientRequest.once (events.js:340:11)
at new ClientRequest (_http_client.js:164:10)
at Object.request (http.js:38:10)
at Object.request (https.js:239:15)
at Object.get (https.js:243:21)
at downloadFollowingRedirect (/usr/local/lib/node_modules/@getgauge/cli/src/index.js:13:11)
at Promise (/usr/local/lib/node_modules/@getgauge/cli/src/index.js:30:13)
at new Promise (<anonymous>)
at downloadAndExtract (/usr/local/lib/node_modules/@getgauge/cli/src/index.js:28:12)
at install.getVersion.then (/usr/local/lib/node_modules/@getgauge/cli/src/index.js:38:18)
at <anonymous>并且gauge存在于/usr/local/bin/gauge中。为什么包的普通变体不起作用?
发布于 2021-05-12 16:41:27
我在他们的Github上打开了一个问题,似乎这个deb存储库被删除了。你可以在Ubuntu上检查新的安装过程:
https://stackoverflow.com/questions/67472558
复制相似问题