Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy Remix with Nodejs 16 on Vercel #3219

Closed
janekwunderlich opened this issue May 18, 2022 · 3 comments
Closed

Unable to deploy Remix with Nodejs 16 on Vercel #3219

janekwunderlich opened this issue May 18, 2022 · 3 comments

Comments

@janekwunderlich
Copy link

What version of Remix are you using?

1.4.3

Steps to Reproduce

  1. Have a project with @remix-run/vercel
  2. vercel.json contains the following content:
    { "build": { "env": { "ENABLE_FILE_SYSTEM_API": "1" } } }
  3. Deploy with Nodejs version 16 on Vercel

Expected Behavior

It deploys and content gets properly passed to output that Vercel expects.

Actual Behavior

Screenshot 2022-05-18 at 02 09 23

@machour
Copy link
Collaborator

machour commented May 18, 2022

Seems like we need to switch from the File System API V2 to the Build Output API

@silvenon
Copy link
Contributor

To me it seems like you have engines set to v16, but your Vercel project set to v14, and that might be the reason for the failure. Is this correct?

Either way, to use v16 you'd need Build Output API. However, I'm not sure if it's necessary to enable by default it in the template, I think it makes more sense to leave it up to people to do it themselves if they need to, no?

@MichaelDeBoey
Copy link
Member

MichaelDeBoey commented Jun 13, 2023

Going to close this as our Vercel template will be officially deprecated once #5964 is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants