#run build error

13 messages · Page 1 of 1 (latest)

lyric hare
#

My mind races to: "what version of node are they using" when I see things like this

modern trout
modern trout
#

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

lyric hare
#

You say "build". So are you doing npm run build? Have you tried npm run dev

modern trout
lyric hare
#

And you don't get that error with dev?

modern trout
lyric hare
#

Are you building on a local host or on a service like netlify, vercel, etc?

modern trout
#

On my local

modern trout
#

could it be my database connection?

lyric hare
#

Maybe. It says it can't import something it's looking for. Have your tried deleting your node modules folder? I'm just guessing.

modern trout
#

Done, and have the same issue