I uploaded my web-applciation developed with NextJS in Namecheap shared hosting. Here i used the Node.Js App setup to uplaod. I followed all step correctly.
But While I run it shows this following error.
I tried the follwoing configurations in the script of the package.json file
#1
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "node server.js",
"lint": "next lint",
"generate": "prisma generate"
}
#2
"scripts": {
"dev": "next dev",
"build": "prisma generate && next build",
"start": "node server.js",
"lint": "next lint"
}
#3
"scripts": {
"postinstall": "prisma generate",
"dev": "next dev",
"build": "next build",
"start": "node server.js",
"lint": "next lint"
}
What should I do to run the app and connect database?