#My leveling bot is crashing

1 messages · Page 1 of 1 (latest)

fierce rampartBOT
coral cove
#

database error

prisma raven
#

simple

coral cove
#

@prisma raven

prisma raven
coral cove
#

src/config/config.js

#

?

coral cove
#

@prisma raven

coral cove
#

[OPTIONAL] SQLite path (default: ./aerox.db)

DB_PATH=./aerox.db

coral cove
prisma raven
#

oh wait sorry

#

that's sqlite

#

i didnt see that

#

Could not locate the bindings file.

prisma raven
#

i mean where you are hosting this?

#

if its on something like render, that can be the issue

coral cove
prisma raven
#

but wait

#

its /home/container so no storage issue

coral cove
#

hmm

prisma raven
#

or in src/config

#

?

#

or might be somewhere else

prisma raven
coral cove
prisma raven
coral cove
prisma raven
coral cove
#

ok

coral cove
shadow zodiac
#

Show the src/config I guess

prisma raven
coral cove
#

ok

prisma raven
#

it would be somewhere more recognizable?

shadow zodiac
#

Wait what Bot are you Using?

prisma raven
shadow zodiac
#

Hm

coral cove
shadow zodiac
#

Let me check give me 5

prisma raven
#

wait leveling bot?

coral cove
prisma raven
#

eh?

coral cove
#

its leveling bot

shadow zodiac
#

Ok

prisma raven
shadow zodiac
#

Give me 5

prisma raven
static wyvernBOT
#

This doesn't appear to be a ticket thread.

coral cove
prisma raven
static wyvernBOT
#

This doesn't appear to be a ticket thread.

coral cove
prisma raven
coral cove
shadow zodiac
#

Where is the src of lev bot?

prisma raven
#

okay i might not know... ;-;
@regal anvil

shadow zodiac
#

K

prisma raven
#

no 😭

coral cove
prisma raven
prisma raven
coral cove
#

._.

prisma raven
#

never looked at that leveling bot

prisma raven
shadow zodiac
#

Mine ether

coral cove
#

@regal anvil

shadow zodiac
#

Aegis God Please help us sobs

#

Fah

prisma raven
coral cove
#

node.js 25

prisma raven
#

use 20-22

shadow zodiac
#

Yeah that’s it

#

It was it bruhhhhhhhh

coral cove
coral cove
#

not 25

prisma raven
coral cove
#

same error

shadow zodiac
#

Or if you need to use 25 give me the Package.json I can update it for you

coral cove
#

ok

prisma raven
#

some packages have breaking changes

shadow zodiac
#

I think you can try tho

prisma raven
#

sometimes

coral cove
prisma raven
coral cove
shadow zodiac
#

Remove node moulds and then change it

coral cove
#

{
"name": "Aerox-Leveling-Bot",
"version": "1.0.0",
"description": "AeroX Leveling System — Created by JoshNvrDie / Aerox Development",
"main": "src/index.js",
"type": "module",
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js"
},
"imports": {
"#structures": "./src/structures/index.js",
"#structures/": "./src/structures/.js",
"#db": "./src/database/Manager.js",
"#config": "./src/config/config.js",
"#utils": "./src/utils/index.js",
"#utils/": "./src/utils/.js"
},
"dependencies": {
"@napi-rs/canvas": "^0.1.97",
"better-sqlite3": "^9.6.0",
"canvacord": "^5.2.3",
"canvafy": "^7.2.1",
"discord.js": "^14.16.3",
"dotenv": "^16.4.5",
"jszip": "^3.10.1"
}
}

shadow zodiac
#

Hold

prisma raven
# coral cove pakage.js

you need better-sqlite3 prebuilt .node file, ur on Node 20 (napi v115), linux x64.

do this:

  1. go to https://github.com/WiseLibs/better-sqlite3/releases
  2. find version 9.6.0, download better-sqlite3-v9.6.0-node-v115-linux-x64.tar.gz
  3. extract, get the better_sqlite3.node file
  4. upload it to /home/container/node_modules/better-sqlite3/build/Release/better_sqlite3.node

that's the exact path it checks, should work instantly after.

#

;-;;

prisma raven
shadow zodiac
#

Tho if you want to try this use this package.json remember to remove node moulds before adding this and stop the bot too

coral cove
shadow zodiac
#

{
"name": "Aerox-Leveling-Bot",
"version": "1.0.0",
"description": "AeroX Leveling System — Created by JoshNvrDie / Aerox Development",
"main": "src/index.js",
"type": "module",
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js"
},
"imports": {
"#structures": "./src/structures/index.js",
"#structures/": "./src/structures/.js",
"#db": "./src/database/Manager.js",
"#config": "./src/config/config.js",
"#utils": "./src/utils/index.js",
"#utils/": "./src/utils/.js"
},
"dependencies": {
"@napi-rs/canvas": "^0.1.100",
"better-sqlite3": "^11.0.0",
"canvacord": "^5.4.0",
"canvafy": "^8.0.0",
"discord.js": "^14.16.3",
"dotenv": "^16.4.5",
"jszip": "^3.10.1"
},
"engines": {
"node": ">=25.0.0"
}
}

coral cove
prisma raven
coral cove
#

?

prisma raven
#

prob

shadow zodiac
#

👍

prisma raven
coral cove
#

deleted

shadow zodiac
#

Chanage the node version to 25

coral cove
#

ok

shadow zodiac
#

And remove node moulds

coral cove
prisma raven
coral cove
prisma raven
coral cove
#

pl

shadow zodiac
#

No 25
"node": ">=25.0.0"
}
}

#

See this it’s 25 it should be 25

prisma raven
shadow zodiac
#

Then change the package to the one I gave you and start your bot

prisma raven
#

you added that

shadow zodiac
#

@prisma raven friend me

prisma raven
coral cove
#

Node.js Version: v25.9.0
:/home/container$ if [[ -d .git ]] && [[ ${AUTO_UPDATE} == "1" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then /usr/local/bin/npm install ${NODE_PACKAGES}; fi; if [[ ! -z ${UNNODE_PACKAGES} ]]; then /usr/local/bin/npm uninstall ${UNNODE_PACKAGES}; fi; if [ -f /home/container/package.json ]; then /usr/local/bin/npm install; fi; if [[ "${MAIN_FILE}" == "*.js" ]]; then /usr/local/bin/node "/home/container/${MAIN_FILE}" ${NODE_ARGS}; else /usr/local/bin/ts-node --esm "/home/container/${MAIN_FILE}" ${NODE_ARGS}; fi

#

now its stiuck in this

shadow zodiac
#

It’s loading

#

Your json

#

Wait

coral cove
#

ok

#

node.js 25 right?

shadow zodiac
#

Yes

coral cove
#

ok

shadow zodiac
#

Can you send me a ss

coral cove
#

npm error A complete log of this run can be found in: /home/container/.npm/_logs/2026-04-13T06_05_20_727Z-debug-0.log
(node:126) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'discord.js' imported from /home/container/src/structures/classes/AeroxClient.js
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:301:9)
at packageResolve (node:internal/modules/esm/resolve:764:81)
at moduleResolve (node:internal/modules/esm/resolve:855:18)
at defaultResolve (node:internal/modules/esm/resolve:988:11)
at nextResolve (node:internal/modules/esm/hooks:769:28)
at resolve (/usr/local/lib/node_modules/ts-node/dist/child/child-loader.js:15:125)
at nextResolve (node:internal/modules/esm/hooks:769:28)
at AsyncLoaderHooksOnLoaderHookWorker.resolve (node:internal/modules/esm/hooks:265:30)
at handleMessage (node:internal/modules/esm/worker:251:24)
at Immediate.checkForMessages (node:internal/modules/esm/worker:193:28) {
code: 'ERR_MODULE_NOT_FOUND'
}

#

@shadow zodiac

shadow zodiac
#

Yeah wait

#

Yo, just a heads up the errors you’re seeing aren’t because of your bot’s code. They’re coming from native modules like better‑sqlite3 that don’t fully support Node.js 25 yet. Node 25 changed a bunch of stuff in the V8 engine (like how Object::Set and Utf8Value work), so older builds of better‑sqlite3 blow up when compiling

#

Use node 24 it will work

#

{
"name": "Aerox-Leveling-Bot",
"version": "1.0.0",
"description": "AeroX Leveling System — Created by JoshNvrDie / Aerox Development",
"main": "src/index.js",
"type": "module",
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"start": "node src/index.js",
"dev": "node --watch src/index.js"
},
"imports": {
"#structures": "./src/structures/index.js",
"#structures/": "./src/structures/.js",
"#db": "./src/database/Manager.js",
"#config": "./src/config/config.js",
"#utils": "./src/utils/index.js",
"#utils/": "./src/utils/.js"
},
"dependencies": {
"@napi-rs/canvas": "^0.1.97",
"better-sqlite3": "^9.6.0",
"canvacord": "^5.2.3",
"canvafy": "^7.2.1",
"discord.js": "^14.16.3",
"dotenv": "^16.4.5",
"jszip": "^3.10.1"
},
"engines": {
"node": ">=24.0.0"
}
}

#

And remove that node thing and change the ver to 24

coral cove
#

ok

#

this error in node.js 24

#

same in 24 and 25

#

@shadow zodiac

#

@regal anvil

tardy ridge
#

They sleeping

prisma raven
coral cove
prisma raven
coral cove
#

its very hard

tardy ridge
prisma raven
#

wahi toh me bolra hu

prisma raven
coral cove
prisma raven
#

4 steps

#

too hard

#

ufffff

tardy ridge
#

Meri tarah abhi problem nhi aayi hogi na voting add krne wali notification and webhook Pepe

prisma raven
#

💀

tardy ridge
#

sobs kitne sir drd ka kaam hai

#

Or dashboard banana sobs

prisma raven
tardy ridge
tardy ridge
#

Pepe setup bacha hai baki to sb krdi hu

tardy ridge
prisma raven
coral cove
#

i donwloaded it to zip

prisma raven
#

samjho dabba in os

#

chota sa dabba

tardy ridge
prisma raven
prisma raven
tardy ridge
#

Kali Linux hai mere pas

coral cove
tardy ridge
prisma raven
coral cove
#

ab kya kru!!!!!!!!!!!!!

tardy ridge
#

Oh btw I use arch

prisma raven
prisma raven
ebon thorn
#

helping that person would be better than flexing os

tardy ridge
prisma raven
#

they just need to follow

ebon thorn
coral cove
#

very hard

coral cove
#

mujhe nhi atiiiiiiiiiiii

prisma raven
#

@ebon thorn

ebon thorn
tardy ridge
#

Laptop open Krna padega again

prisma raven
tardy ridge
#

Bhejti sham tk

prisma raven
#

hum developers jo pura code banate\

#

unka kya

#

💔

ebon thorn
prisma raven
#

true

ebon thorn
prisma raven
#

if you dont want to use the bot

#

then dont

#

🥀

tardy ridge
coral cove
prisma raven
#

nobody is forcing you

tardy ridge
#

Hosting pe jao

#

Zip pe

coral cove
tardy ridge
#

3 dots honge waha

coral cove
tardy ridge
#

Uspe click krke unzip kro

prisma raven
tardy ridge
prisma raven
coral cove
#

wait let me ask my friend to do it

prisma raven
#

🥀

tardy ridge
prisma raven
#

itna lazy toh me bhi ni hu

#

._.

coral cove
tardy ridge
coral cove
#

i unziped it

prisma raven
tardy ridge
coral cove
#

now??

prisma raven
#

?

tardy ridge
coral cove
tardy ridge
coral cove
prisma raven
tardy ridge
#

Pepe mujhe lga hosting pe krre

coral cove
prisma raven
#

never thought i'd need to baby walk someone...

static wyvernBOT
#
AIO Downloader

No data received from API. Please try again.

coral cove
prisma raven
coral cove
tardy ridge
#

Light theme

prisma raven
static wyvernBOT
#
AIO Downloader

No data received from API. Please try again.

tardy ridge
prisma raven
prisma raven
coral cove
#

iam in

prisma raven
#

open node_modules

static wyvernBOT
#

This doesn't appear to be a ticket thread.

coral cove
#

the host

tardy ridge
#

Hain

prisma raven
#

then click move

#

or I

coral cove
tardy ridge
prisma raven
coral cove
prisma raven
#

or

#

capital I

coral cove
#

capital i?

prisma raven
#

button

#

move button

coral cove
#

oo

prisma raven
#

then enter this in the box

coral cove
#

so i need to upload the zip teher

#

and unzip it

#

then done right?

prisma raven
prisma raven
coral cove
#

ok

#

i unzip it

#

now i can see build file

#

@prisma raven

#

now i need to create a folder

prisma raven
coral cove
#

and name it better-sqlite3

prisma raven
coral cove
#

sorry iam very dump

prisma raven
prisma raven
#

atleast your ready to do what is told

coral cove
coral cove
prisma raven
coral cove
#

there is two better-sqlite3 file folders

#

in node_modules

prisma raven
static wyvernBOT
coral cove
#

ok

#

added in better-sqlite3

#

build file

#

now?

#

@prisma raven

prisma raven
coral cove
#

node.js 24 or 25?

#

i make this 24

#

not now

#

its 24

prisma raven
coral cove
#

ok

prisma raven
#

any should work

#

dunno

coral cove
#

ok

#

i make it 22

prisma raven
#

mmmmh

coral cove
#

now i will start right?

prisma raven
coral cove
#

@prisma raven tysm

#

fixed

prisma raven
#

.feedback

static wyvernBOT
#

bfl Problem Solved? bWhiteHeartSymbol
arrowIf everything is resolved.
arrowI’ll go ahead and close this ticket.
arrowYou’re welcome to drop a quick rating.
arrowin #⌕﹒📑﹒feedbacks﹒

Noblez Appreciate your patience glad to help!

coral cove
#

ty for helping me

prisma raven
coral cove
#

done

prisma raven
#

have a great day ahead

coral cove