#bug report
51 messages · Page 1 of 1 (latest)
Explain what are you trying to run and what is the problem. The picture is optionnal
What JS program. JS can't be run alone.
This is the script file that I want to run, but when I run node example.js, it gives an error.
@arctic rock
That script was given to me by someone, I asked who has a Discord bot script that can create top4top mp3 links
So nothing to do with Termux
try running it, does it give an error or not?
You should ask to the creator of this script, Termux doesn't have to support problems of others' programs
have you tried npm install?
what needs to be installed
This
Im trying to create a solution
Okay
Try this one then
Unzip it then use npm install and npm start
Dont forget to put thr bot token in example.js
@digital raptor
Thanks a lot
@digital raptor So that the bot doesn't die, how do you exit Termux?
Use ctrl C
If I exit from Termux but the script doesn't disappear, how do I do it?
Just use ctr+c it should stop the script
Wait
Im not the best talking english
Did you mean keep the bot online?
yes
Use this
termux-wake-lock && nohup npm start &
The bot will start and you can still use the terminal
👍
@digital raptor how do you add this
sorry, I don't have time to do this now