I'm having an app hosted on Vercel, and after upgrading to remix 1.8 I'm getting this error:
"@remix-run/node": "1.8.0", "@remix-run/react": "1.8.0", "@remix-run/serve": "1.8.0", "@remix-run/dev": "1.8.0", "@remix-run/eslint-config": "1.8.0",
I also updated my remix.config file with these contents:
`/** @type {import('@remix-run/dev').AppConfig} /
module.exports = {
ignoredRouteFiles: ["**/."],
future: {
v2_meta: true,
}
serverBuildTarget: "vercel",
server: process.env.NODE_ENV === "development" ? undefined : "./server.js",
// appDirectory: "app",
// assetsBuildDirectory: "public/build",
// serverBuildPath: "build/index.js",
// publicPath: "/build/",
};`
according to this Github thread https://github.com/remix-run/remix/issues/4759
But I'm still seeing this error, and I don't know how to debug it really further. What did I do wrong?
What version of Remix are you using? 1.6.7 Steps to Reproduce clone repository by ssh: git clone [email protected]:Lucas-Eduardo-Goncalves/pac.app.git then add this repository to vercel, and try. Expe...