CryptoMF / frostybot-js

Frostybot-JS is a cryptocurrency trading API endpoint, designed to execute webhook or REST requests as orders on a variety of well-known exchanges. While primarily designed to automate your Tradingview strategies, Frostybot can also be integrated with any other software using webhooks or REST. Bitmex, FTX, Deribit and Binance are supported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frostybot not starting - clean install all updated

BAngel87 opened this issue · comments

Please help, i get the following error whren trieing to start in debug:

`frostybot debug
Starting Frostybot Server on port 80 in DEBUG mode...
(node:8573) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

frostybot-js@0.0.0 start /usr/local/frostybot-js
node ./bin/www

/usr/local/frostybot-js/app.js:28
} catch {
^

SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/frostybot-js/bin/www:7:11)

npm ERR! frostybot-js@0.0.0 start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the frostybot-js@0.0.0 start script.
npm ERR! This is most likely a problem with the frostybot-js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get their info via:
npm ERR! npm owner ls frostybot-js
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.10.108-BPI-M2U-Kernel
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! cwd /usr/local/frostybot-js
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/local/frostybot-js/npm-debug.log
npm ERR! not ok code 0
`

It is a clean new install of a raspberry bananapi and i have done all updates. Hopefully you can help.

Thanks in advance

commented

did you solve it? I'm trying to figure if this project is no longer maintained