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•2w ago
Explain what are you trying to run and what is the problem. The picture is optionnal
gonzales2411.36
gonzales2411.36OP•2w ago
when I run JS, it just gives an error @NoNameForIdea
NoNameForIdea
NoNameForIdea•2w ago
What JS program. JS can't be run alone.
gonzales2411.36
gonzales2411.36OP•2w ago
This is the script file that I want to run, but when I run node example.js, it gives an error.
gonzales2411.36
gonzales2411.36OP•2w ago
@NoNameForIdea
NoNameForIdea
NoNameForIdea•2w ago
Why a zip? You don't have the project page URL? I need to know what is it
gonzales2411.36
gonzales2411.36OP•2w 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•2w ago
So nothing to do with Termux
gonzales2411.36
gonzales2411.36OP•2w ago
try running it, does it give an error or not?
NoNameForIdea
NoNameForIdea•2w ago
You should ask to the creator of this script, Termux doesn't have to support problems of others' programs
threatening boykisser
have you tried npm install?
gonzales2411.36
gonzales2411.36OP•2w ago
what needs to be installed
threatening boykisser
Looks like you need "axios" You should try npm install or npm install axios
gonzales2411.36
gonzales2411.36OP•2w ago
This
No description
threatening boykisser
Im trying to create a solution
gonzales2411.36
gonzales2411.36OP•2w ago
Okay
threatening boykisser
Wait No Im dumb Use npm start
gonzales2411.36
gonzales2411.36OP•2w ago
wait just the same
gonzales2411.36
gonzales2411.36OP•2w ago
No description
threatening boykisser
Try this one then Unzip it then use npm install and npm start Dont forget to put thr bot token in example.js
gonzales2411.36
gonzales2411.36OP•2w ago
@threatening boykisser
No description
gonzales2411.36
gonzales2411.36OP•2w ago
Thanks a lot @threatening boykisser So that the bot doesn't die, how do you exit Termux?
threatening boykisser
Use ctrl C
gonzales2411.36
gonzales2411.36OP•2w ago
If I exit from Termux but the script doesn't disappear, how do I do it?
threatening boykisser
Just use ctr+c it should stop the script Wait Im not the best talking english Did you mean keep the bot online?
gonzales2411.36
gonzales2411.36OP•2w ago
yes
threatening boykisser
Use this termux-wake-lock && nohup npm start & The bot will start and you can still use the terminal
gonzales2411.36
gonzales2411.36OP•2w ago
if you make it off Sorry for bothering you, I'm just learning this.
threatening boykisser
👍
gonzales2411.36
gonzales2411.36OP•2w ago
@threatening boykisser how do you add this
threatening boykisser
Lemme check Im at school rn, ima check it later sorry, I don't have time to do this now
gonzales2411.36
gonzales2411.36OP•2w ago
Okay

Did you find this page helpful?