#run build error
13 messages · Page 1 of 1 (latest)
Node version
v20.11.1
Latest LTS
Please can anyone tell me what is causing this error 😭 can't continue my development beacause of this.
could it be something with my database connection? or maybe is for a variable? :c
You say "build". So are you doing npm run build? Have you tried npm run dev
I have, the web is ready for deploy, but can't build, i have programmed all i wanted, just want to build, is not my first time using astro, but is my first time using it with a DataBase and i got this error
And you don't get that error with dev?
Nope, it works perfectly fine while dev
Are you building on a local host or on a service like netlify, vercel, etc?
On my local
could it be my database connection?
Maybe. It says it can't import something it's looking for. Have your tried deleting your node modules folder? I'm just guessing.
Done, and have the same issue