frostybot-js icon indicating copy to clipboard operation
frostybot-js copied to clipboard

Frostybot not starting - clean install all updated

Open BAngel87 opened this issue 2 years ago • 1 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.

[email protected] 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! [email protected] start: node ./bin/www npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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

BAngel87 avatar Jun 22 '22 15:06 BAngel87

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

Karlheinzniebuhr avatar Jul 14 '22 03:07 Karlheinzniebuhr