Can't deploy remix site

Site name:

The site is a Remix site with tailwind css and that’s about it. Nothing unusual going on. It builds and runs without issue locally. I spoke to someone form netlify on Discord and he directed me here.

When I build the site it succeeds without issue but when I view the site I get this

Toml file is pretty much the default that the netlify template comes with when using remix.

  command = "npm run build"
  publish = "public"

  command = "remix watch"
  port = 3000

  from = "/*"
  to = "/.netlify/functions/server"
  status = 200

  for = "/build/*"
    "Cache-Control" = "public, max-age=31536000, s-maxage=31536000"

This has been going on for over a month and I’m at a total loss as to what the problem is.

I have tried using the CLI and every time it takes forever and eventually fails with a 500.

I can reproduce the error locally by deleting the cache and netlify folders. Even though they are rebuillt when running npm run build the site crashes with the error above until I stop the server and restart and then all runs as expected

Hey @AlanH,

This appears to be related to:

Since Remix integration is not handled by Netlify, it’s usually better to ask those folks about it.