Comments (13)
@TooTallNate any ideas here? we're having a ton of traffic on our site today and would really like to increase this 😅
from remix.
Can you elaborate on "fails to deploy"? What are you seeing? Can you share a reproduction, or a deployment URL?
from remix.
@TooTallNate yep, here you go: https://vercel.com/sort-xyz/sorthub/BPFNXzZGm6jrgnnNFLt6FKf2NbUC
from remix.
Ok, so ya, you don't configure maxDuration
for Remix routes using vercel.json
. Do it the export const config = { ... }
way like described in the Remix on Vercel docs page.
from remix.
@TooTallNate I tried that as well, and the build wouldn't even compile, complained about something to do with some files in node modules already existing. let me revert to that commit and send over a URL
from remix.
@TooTallNate here you go: https://vercel.com/sort-xyz/sorthub/3r7gRrzaifeqz7SDvJzWUpVhVmVw
from remix.
This error seems unrelated to the export const config
part, but did you see this issue which looks similar? remix-run#8813
from remix.
this is the entire diff, removing it fixes the build
from remix.
from remix.
interestingly enough, adding the config to root.tsx
does not break the build
from remix.
That is strange. I will relay that to the Remix team. If you could give a standalone reproduction that would help as well.
from remix.
I'll see what I can do, thanks!
from remix.
Ya that would be helpful. I wasn't able to reproduce using the vc init remix
template, and changing the config of both of those routes in the template to have export const config = { maxDuration: 30 }
worked for me.
from remix.
Related Issues (20)
- vercelPreset changes build directory structure, breaking start script from remix docs HOT 6
- vercel feature flags HOT 7
- how can I gracefully handle FUNCTION_INVOCATION_TIMEOUT HOT 2
- `vercel build` fails in template HOT 2
- Cannot deploy if any route uses the edge runtime HOT 8
- Custom entry.server with Vite not possible HOT 3
- Root route imports are always bundled for edge HOT 1
- Merge Conflict ❌
- 2.9.1? HOT 3
- `TypeError: headers.getSetCookie is not a function` HOT 4
- Merge Conflict ❌
- Deployment to Vercel causes a build panic when using manual route configuration #9431 HOT 1
- need `getLoadContext` HOT 8
- Merge Conflict ❌
- Cannot deploy remix-utils to edge HOT 4
- Merge Conflict ❌
- [Remix + Vite] Trying to build production app failing (mixed client and server code) HOT 9
- Links have stopped working after deploy HOT 8
- using config export breaks HMR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remix.