Xmader / aria-ng-gui

一个 Aria2 图形界面客户端 | An Aria2 GUI for Windows & Linux & MacOS
https://aria-ng.xmader.com/
MIT License
1.72k stars 154 forks source link

macOS Node.js v20.6.0 error #59

Open betta-cyber opened 9 months ago

betta-cyber commented 9 months ago

install by npm i -g aria-ng-gui

got error

npm ERR! code 1
npm ERR! path /opt/homebrew/lib/node_modules/aria-ng-gui
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! /opt/homebrew/lib/node_modules/aria-ng-gui/download.js:62
npm ERR!         const remoteDataSHA256 = sha256sum.match(`(\\w{64}) \\*${fileName}`)[1]
npm ERR!                                                                             ^
npm ERR!
npm ERR! TypeError: Cannot read properties of null (reading '1')
npm ERR!     at downloadArtifact (/opt/homebrew/lib/node_modules/aria-ng-gui/download.js:62:77)
npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR!
npm ERR! Node.js v20.6.0