#Discord Bot runs Locally, doesn't run on host

1 messages · Page 1 of 1 (latest)

pure socket
#

I get a Error: /home/container/node_modules/canvas/build/Release/canvas.node: invalid ELF header error. I had more in my prior post, but i got timed out lol

simple spindle
pure socket
#

same exact code aswell

simple spindle
#

I'm not good at JS so I can't say for sure as the errors are not familiar to me. But that's my best guess basing on other experience

simple spindle
pure socket
#

but i can't run npm i as the server auto stops when it encounters the error

#

i also can't SSH in, commands are blocked through it

simple spindle
#

Are you renting a VPS or a bot hosting service?

pure socket
simple spindle
#

you won't have SSH access to managed hosting like the bot hosting service

simple spindle
#

generally how they work is it's put in a docker container, and in the files you provide some kind of dependency list (I'm not sure how nodeJS does it) which it reads and installs on every run

onyx sparrow
#

but the file it uses is package.json

#

basically requirements.txt but more stuff lol

pure socket
#

support says to install the files locally and to then upload it, but i've already tried that a few times 😭

eternal oak
#

Do not bypass the swear filter.

pure socket
#

My bad