openkraken / kraken

A web standards-compliant, high-performance rendering engine based on Flutter.
https://openkraken.com
Apache License 2.0
4.93k stars 304 forks source link

linux环境下kraken安装错误 #1434

Closed SOVLOOKUP closed 2 years ago

SOVLOOKUP commented 2 years ago

使用的 Kraken 版本 | What version of kraken are you using

0.10.5

重现步骤 | Steps To Reproduce

npm install -g @openkraken/cli

实际结果 | Actual results: 无法安装。postinstall 压缩包下载不下来,浏览器访问网址确认无法下载这个文件,确定链接正确吗?

.../node_modules/@openkraken/cli postinstall$ node install.js
│   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
│                                  Dload  Upload   Total   Spent    Left  Speed
│   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
│ 100   273  100   273    0     0   1200      0 --:--:-- --:--:-- --:--:--  1207
│ gzip: stdin: not in gzip format
│ tar: Child returned status 1
│ tar: Error is not recoverable: exiting now
│ node:child_process:894
│     throw err;
│     ^
│ Error: Command failed: tar xzf /home/sovlookup/.nvm/versions/node/v18.4.0/pnpm-global/5/node_modules/.pnpm/registry.npmmirror.com+@openkraken+cli@0.10.5/node_modules/@openkraken/cli/kra
│     at checkExecSyncError (node:child_process:820:11)
│     at execSync (node:child_process:891:15)
│     at Object.<anonymous> (/home/sovlookup/.nvm/versions/node/v18.4.0/pnpm-global/5/node_modules/.pnpm/registry.npmmirror.com+@openkraken+cli@0.10.5/node_modules/@openkraken/cli/install
│     at Module._compile (node:internal/modules/cjs/loader:1112:14)
│     at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
│     at Module.load (node:internal/modules/cjs/loader:988:32)
│     at Module._load (node:internal/modules/cjs/loader:834:12)
│     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
│     at node:internal/main/run_main_module:17:47 {
│   status: 2,
│   signal: null,
│   output: [ null, null, null ],
│   pid: 93073,
│   stdout: null,
│   stderr: null
│ }
│ Node.js v18.4.0
└─ Failed in 316ms
XGHeaven commented 2 years ago

同 #1428