bug report

I want to run the bot when example.js error like below ~ $ cd /storage/emulated/0 .../emulated/0 $ cd download .../0/download $ cd mybot .../download/mybot $ cd Boombox-Generator-main .../mybot/Boombox-Generator-main $ node example.js node:internal/module
No description
33 Replies
NoNameForIdea
NoNameForIdea4mo ago
Explain what are you trying to run and what is the problem. The picture is optionnal
gonzales4747.
gonzales4747.OP4mo ago
when I run JS, it just gives an error @NoNameForIdea
NoNameForIdea
NoNameForIdea4mo ago
What JS program. JS can't be run alone.
gonzales4747.
gonzales4747.OP4mo ago
This is the script file that I want to run, but when I run node example.js, it gives an error.
gonzales4747.
gonzales4747.OP4mo ago
@NoNameForIdea
NoNameForIdea
NoNameForIdea4mo ago
Why a zip? You don't have the project page URL? I need to know what is it
gonzales4747.
gonzales4747.OP4mo ago
That script was given to me by someone, I asked who has a Discord bot script that can create top4top mp3 links
NoNameForIdea
NoNameForIdea4mo ago
So nothing to do with Termux
gonzales4747.
gonzales4747.OP4mo ago
try running it, does it give an error or not?
NoNameForIdea
NoNameForIdea4mo ago
You should ask to the creator of this script, Termux doesn't have to support problems of others' programs
Wawa — wurugashikai
have you tried npm install?
gonzales4747.
gonzales4747.OP4mo ago
what needs to be installed
Wawa — wurugashikai
Looks like you need "axios" You should try npm install or npm install axios
gonzales4747.
gonzales4747.OP4mo ago
This
No description
Wawa — wurugashikai
Im trying to create a solution
gonzales4747.
gonzales4747.OP4mo ago
Okay
Wawa — wurugashikai
Wait No Im dumb Use npm start
gonzales4747.
gonzales4747.OP4mo ago
wait just the same
gonzales4747.
gonzales4747.OP4mo ago
No description
Wawa — wurugashikai
Try this one then Unzip it then use npm install and npm start Dont forget to put thr bot token in example.js
gonzales4747.
gonzales4747.OP4mo ago
@threatening boykisser
No description
gonzales4747.
gonzales4747.OP4mo ago
Thanks a lot @threatening boykisser So that the bot doesn't die, how do you exit Termux?
Wawa — wurugashikai
Use ctrl C
gonzales4747.
gonzales4747.OP4mo ago
If I exit from Termux but the script doesn't disappear, how do I do it?
Wawa — wurugashikai
Just use ctr+c it should stop the script Wait Im not the best talking english Did you mean keep the bot online?
gonzales4747.
gonzales4747.OP4mo ago
yes
Wawa — wurugashikai
Use this termux-wake-lock && nohup npm start & The bot will start and you can still use the terminal
gonzales4747.
gonzales4747.OP4mo ago
if you make it off Sorry for bothering you, I'm just learning this.
Wawa — wurugashikai
👍
gonzales4747.
gonzales4747.OP4mo ago
@threatening boykisser how do you add this
Wawa — wurugashikai
Lemme check Im at school rn, ima check it later sorry, I don't have time to do this now
gonzales4747.
gonzales4747.OP4mo ago
Okay

Did you find this page helpful?