Xmader / aria-ng-gui

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

failed to npm install #42

Open xujianhai666 opened 4 years ago

xujianhai666 commented 4 years ago

when I install this software by npm i -g aria-ng-gui, I met thos problem:

/usr/bin/AriaNgGUI -> /usr/lib/node_modules/aria-ng-gui/cli.js

> aria-ng-gui@3.1.2 postinstall /usr/lib/node_modules/aria-ng-gui
> node install.js

/usr/lib/node_modules/aria-ng-gui/download.js:32
    version = packageVersion,
    ^^^^^^^^^^^^^^^^^^^^^^^^

SyntaxError: Invalid shorthand property initializer

please fix as soon as possible, or may I have any ways to fix that ?