T
Termux•2mo ago
gonzales4747.

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
NoNameForIdea•2mo ago
Explain what are you trying to run and what is the problem. The picture is optionnal
gonzales4747.
gonzales4747.OP•2mo ago
when I run JS, it just gives an error @NoNameForIdea
NoNameForIdea
NoNameForIdea•2mo ago
What JS program. JS can't be run alone.
gonzales4747.
gonzales4747.OP•2mo ago
This is the script file that I want to run, but when I run node example.js, it gives an error.
gonzales4747.
gonzales4747.OP•2mo ago
@NoNameForIdea
NoNameForIdea
NoNameForIdea•2mo ago
Why a zip? You don't have the project page URL? I need to know what is it
gonzales4747.
gonzales4747.OP•2mo ago
That script was given to me by someone, I asked who has a Discord bot script that can create top4top mp3 links
NoNameForIdea
NoNameForIdea•2mo ago
So nothing to do with Termux
gonzales4747.
gonzales4747.OP•2mo ago
try running it, does it give an error or not?
NoNameForIdea
NoNameForIdea•2mo ago
You should ask to the creator of this script, Termux doesn't have to support problems of others' programs
exfurr
exfurr•2mo ago
have you tried npm install?
gonzales4747.
gonzales4747.OP•2mo ago
what needs to be installed
exfurr
exfurr•2mo ago
Looks like you need "axios" You should try npm install or npm install axios
gonzales4747.
gonzales4747.OP•2mo ago
This
No description
exfurr
exfurr•2mo ago
Im trying to create a solution
gonzales4747.
gonzales4747.OP•2mo ago
Okay
exfurr
exfurr•2mo ago
exfurr
exfurr•2mo ago
Wait No Im dumb Use npm start
gonzales4747.
gonzales4747.OP•2mo ago
wait just the same
gonzales4747.
gonzales4747.OP•2mo ago
No description
exfurr
exfurr•2mo ago
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.OP•2mo ago
@threatening boykisser
No description
gonzales4747.
gonzales4747.OP•2mo ago
Thanks a lot @threatening boykisser So that the bot doesn't die, how do you exit Termux?
exfurr
exfurr•2mo ago
Use ctrl C
gonzales4747.
gonzales4747.OP•2mo ago
If I exit from Termux but the script doesn't disappear, how do I do it?
exfurr
exfurr•2mo ago
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.OP•2mo ago
yes
exfurr
exfurr•2mo ago
Use this termux-wake-lock && nohup npm start & The bot will start and you can still use the terminal
gonzales4747.
gonzales4747.OP•2mo ago
if you make it off Sorry for bothering you, I'm just learning this.
exfurr
exfurr•2mo ago
👍
gonzales4747.
gonzales4747.OP•2mo ago
@threatening boykisser how do you add this
exfurr
exfurr•2mo ago
Lemme check Im at school rn, ima check it later sorry, I don't have time to do this now
gonzales4747.
gonzales4747.OP•2mo ago
Okay

Did you find this page helpful?