My package.json:
{
"name": "my-remix-app",
"private": true,
"sideEffects": false,
"type": "module",
"scripts": {
"build": "remix build",
"dev": "remix dev",
"start": "netlify serve",
"typecheck": "tsc -b"
},
"dependencies": {
"@remix-run/node": "^2.4.1",
"@remix-run/react": "^2.4.1",
"cross-env": "^7.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@google-cloud/storage": "^7.7.0",
"@netlify/functions": "^2.0.0",
"@netlify/remix-adapter": "^2.0.0",
"@prisma/client": "^5.7.1",
"@remix-run/css-bundle": "^2.4.0",
"bcryptjs": "^2.4.3",
"mongodb": "^6.3.0"
},
"devDependencies": {
"@remix-run/dev": "^2.4.1",
"@remix-run/eslint-config": "^2.4.1",
"@remix-run/serve": "^2.4.1",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"eslint": "^8.27.0",
"typescript": "^5.2.2",
"@remix-run/v1-route-convention": "^0.1.4"
},
"engines": {
"node": ">=18"
}
}
I think it’s not about prisma, because home page works fine.
I used this steps: Remix on Netlify | Netlify Docs and just added prisma file and updated package.json
Also, I added to netlify.toml but it don’t affected:
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
Can someone help me to understand why I have 404 plaese?