#bug report

51 messages · Page 1 of 1 (latest)

fleet sonnet
#

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

trim jungleBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

arctic rock
#

Explain what are you trying to run and what is the problem. The picture is optionnal

fleet sonnet
#

when I run JS, it just gives an error

#

@arctic rock

arctic rock
#

What JS program. JS can't be run alone.

fleet sonnet
#

@arctic rock

arctic rock
#

Why a zip? You don't have the project page URL?

#

I need to know what is it

fleet sonnet
fleet sonnet
arctic rock
digital raptor
#

have you tried npm install?

fleet sonnet
digital raptor
#

Looks like you need "axios"

#

You should try npm install or npm install axios

digital raptor
#

Im trying to create a solution

fleet sonnet
#

Okay

digital raptor
#

Wait

#

No

#

Im dumb

#

Use npm start

fleet sonnet
#

wait

#

just the same

digital raptor
#

Unzip it then use npm install and npm start

#

Dont forget to put thr bot token in example.js

fleet sonnet
#

@digital raptor

#

Thanks a lot

#

@digital raptor So that the bot doesn't die, how do you exit Termux?

digital raptor
#

Use ctrl C

fleet sonnet
#

If I exit from Termux but the script doesn't disappear, how do I do it?

digital raptor
#

Just use ctr+c it should stop the script

#

Wait

#

Im not the best talking english

#

Did you mean keep the bot online?

fleet sonnet
#

yes

digital raptor
#

Use this
termux-wake-lock && nohup npm start &

#

The bot will start and you can still use the terminal

fleet sonnet
#

if you make it off

#

Sorry for bothering you, I'm just learning this.

digital raptor
#

👍

fleet sonnet
digital raptor
#

Lemme check

#

Im at school rn, ima check it later

digital raptor
#

sorry, I don't have time to do this now