如何使用 apt 在 Ubuntu 18 上安装 gauge 作为包?
How to install gauge as package on Ubuntu 18 with apt?
这是我的系统:
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>
之后仪表存在于 /usr/local/bin/gauge 中。为什么带包的普通变体不起作用?
我在他们的 Github 上开了一个问题,这个 deb 存储库似乎被删除了。在那里您可以检查在 Ubuntu:
上安装的新程序
这是我的系统:
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>
之后仪表存在于 /usr/local/bin/gauge 中。为什么带包的普通变体不起作用?
我在他们的 Github 上开了一个问题,这个 deb 存储库似乎被删除了。在那里您可以检查在 Ubuntu:
上安装的新程序