eugeneglova/binance-trading-bot

Install howto?

SuselK opened this issue · 3 comments

Hello Eugene,
i found yout reposity.

Have yo a install tutorial?

Best Regards
Susan

Good Morning Eugen...
sorry, it is not possible to install the bot on linux (Debian).
There are many mistakes ...

Do you have a tutorial for the installation under linux?
am I installing this wrong?

Please help :-)

Best Regards
Susan

  • Download and install as root.
  • Running with different user (not as root)

Mistakes on install:

Command: npm install

Messages:
....

electron@10.1.3 postinstall /home/root/eugeneglova/binance-trading-bot-1.1.11/node_modules/electron
node install.js

npm WARN lifecycle binance-trading-bot@1.1.8~postinstall: cannot run in wd binance-trading-bot@1.1.8 electron-builder install-app-deps (wd=/home/root/eugeneglova/binance-trading-bot-1.1.11)
npm WARN binance-trading-bot@1.1.8 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
....


Mistakes on starting the bot:

I start the bot not under the user: root
Command: npm run electron-dev

Messages:
...

binance-trading-bot@1.1.8 electron-dev /home/root/eugeneglova/binance-trading-bot-1.1.11
concurrently "PORT=3009 BROWSER=none npm run start" "wait-on http://localhost:3009 && electron ."

[0]
[0] > binance-trading-bot@1.1.8 start /home/root/eugeneglova/binance-trading-bot-1.1.11
[0] > rescripts start
[0]
[0] ℹ 「wds」: Project is running at http://0.0.0.0:3009/
[0] ℹ 「wds」: webpack output is served from
[0] ℹ 「wds」: Content not from webpack is served from /home/root/eugeneglova/binance-trading-bot-1.1.11/public
[0] ℹ 「wds」: 404s will fallback to /
[0] Starting the development server...
[0]
[0] Compiled successfully!
[0]
[0] You can now view binance-trading-bot in the browser.
[0]
[0] http://localhost:3009
[0]
[0] Note that the development build is not optimized.
[0] To create a production build, use npm run build.
[0]
[1] Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
[1] /home/root/eugeneglova/binance-trading-bot-1.1.11/node_modules/electron/dist/electron exited with signal SIGSEGV
[1] wait-on http://localhost:3009 && electron . exited with code 1
^C[0] PORT=3009 BROWSER=none npm run start exited with code SIGINT
...