#My leveling bot is crashing
1 messages · Page 1 of 1 (latest)
config.js/config.json/.env
it has this db: {
path: optional('DB_PATH', './aerox.db'),
@prisma raven
this files wont have mangodb
[OPTIONAL] SQLite path (default: ./aerox.db)
DB_PATH=./aerox.db
no that
so?
oh wait sorry
that's sqlite
i didnt see that
Could not locate the bindings file.
does the bot have permission to write to the container?
i mean where you are hosting this?
if its on something like render, that can be the issue
hmm
is there any file as /aerox.db in the root folder?
or in src/config
?
or might be somewhere else
show your files tab
ss?
yes
full screenshot...
ok
i cant understand
Show the src/config I guess
like just send a normal screenshot without cropping
ok
db wont really be there, its of no use if its there
it would be somewhere more recognizable?
Wait what Bot are you Using?
security bot
Hm
Let me check give me 5
wait leveling bot?
not security
eh?
its leveling bot
Ok
oh okay
Give me 5
open src
This doesn't appear to be a ticket thread.
?
open the folder as src
This doesn't appear to be a ticket thread.
database
Where is the src of lev bot?
okay i might not know... ;-;
@regal anvil
K
no 😭
now?
it was given away in a giveaway....
i dunno
ask @regal anvil
._.
never looked at that leveling bot
;-;
@regal anvil
what node version are you using?
node.js 25
wait let me do
try 22
same error
Or if you need to use 25 give me the Package.json I can update it for you
ok
i dont think it works that way
some packages have breaking changes
I think you can try tho
sometimes
same database error
paste your package.json ig... ;-;
Remove node moulds and then change it
{
"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"
}
}
Hold
pakage.js
you need better-sqlite3 prebuilt .node file, ur on Node 20 (napi v115), linux x64.
do this:
- go to https://github.com/WiseLibs/better-sqlite3/releases
- find version
9.6.0, downloadbetter-sqlite3-v9.6.0-node-v115-linux-x64.tar.gz - extract, get the
better_sqlite3.nodefile - 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.
;-;;
._.
Yeah
I just checked it 
its very hard
dunno
Tho if you want to try this use this package.json remember to remove node moulds before adding this and stop the bot too

{
"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"
}
}
its pakagelock.js
no use of that
updating libs would work? 🤨
prob
👍
try that ^
deleted
Chanage the node version to 25
ok
And remove node moulds
all?
24*
._.
just remove the folder as "node_modules" and ".npm"
pl
dleted
🤨
Then change the package to the one I gave you and start your bot
you added that
@prisma raven friend me
why?
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
Yes
ok
Can you send me a ss
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
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
?
ok
this error in node.js 24
same in 24 and 25
@shadow zodiac
@regal anvil
They sleeping
lol expected, at that point wont doing what is said would've been easier
.
i dont know how to do it ._.
its simply written ._.
its very hard
Didi sare steps to likhe hai yaha

wahi toh me bolra hu

thik he try karti hu
Yeah
Meri tarah abhi problem nhi aayi hogi na voting add krne wali notification and webhook 
💀
ye toh language per depend karta hai

Vs code main try krti main sb kuch pehle docker pta ni kya kya install Krna pd raha hai 
docker on windows? 💀
setup bacha hai baki to sb krdi hu
Docker engine kya hai wo jo bhi hai
wo basically ek chota sa container hai
i donwloaded it to zip
Linux pe try krti then
noice
yaya linux best
Kali Linux hai mere pas
now?

ab kya kru!!!!!!!!!!!!!
Oh btw I use arch
baki ke steps follow
😋
helping that person would be better than flexing os

ahem
I'm out
i've given them the rest of the steps
they just need to follow
Send me some screenshots of your mc server
very hard
@coral cove
mujhe nhi atiiiiiiiiiiii
@ebon thorn
okay
bus unzip and upload karna itna hard 🥀
Bhejti sham tk
?
It's not rocket science, just follow what's written
true
Okay, don't forget
App kya krre ho bot bna k 

nobody is forcing you
for my hosting
3 dots honge waha

Uspe click krke unzip kro
then its simple written above 🥀

@coral cove aur simple aapki language me bataya inhone wo dekhlo 🥀
wait let me ask my friend to do it
🥀
aise kese sikhoge
._.
I stay on vscode for 4/5 hours just fixing bugs on my bot

i unziped it
Screenshot guyz
now??
Probably main file


you are NOT supposed to get the source 😭
mujhe lga hosting pe krre
.____________________.
never thought i'd need to baby walk someone...
No data received from API. Please try again.
downloaded
you clearly dont know how to navigate github 💔
Light theme
download that extactly
No data received from API. Please try again.

😭
now go to your host
open node_modules
This doesn't appear to be a ticket thread.
the host
Hain
now
upload that .node file
uploaded
oo
yes
ok
i unzip it
now i can see build file
@prisma raven
now i need to create a folder
mhm
and name it better-sqlite3
as "better-sqlite3'
sorry iam very dump
ypp
no problem
atleast your ready to do what is told
unlike someone... #1493117232497033337
._.
@prisma raven
ye?
delete the old one and use the zip one
Usage: purge <option> [search=100]
try starting
22
ok
mmmmh
now i will start right?
mhm
Problem Solved? 
If everything is resolved.
I’ll go ahead and close this ticket.
You’re welcome to drop a quick rating.
in #⌕﹒📑﹒feedbacks﹒
Appreciate your patience — glad to help!
ty for helping me
no problem
done
have good day