GithubHelp home page GithubHelp logo

Comments (13)

lifeiscontent avatar lifeiscontent commented on May 23, 2024

@TooTallNate any ideas here? we're having a ton of traffic on our site today and would really like to increase this 😅

from remix.

TooTallNate avatar TooTallNate commented on May 23, 2024

Can you elaborate on "fails to deploy"? What are you seeing? Can you share a reproduction, or a deployment URL?

from remix.

lifeiscontent avatar lifeiscontent commented on May 23, 2024

@TooTallNate yep, here you go: https://vercel.com/sort-xyz/sorthub/BPFNXzZGm6jrgnnNFLt6FKf2NbUC

from remix.

TooTallNate avatar TooTallNate commented on May 23, 2024

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.

lifeiscontent avatar lifeiscontent commented on May 23, 2024

@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.

lifeiscontent avatar lifeiscontent commented on May 23, 2024

@TooTallNate here you go: https://vercel.com/sort-xyz/sorthub/3r7gRrzaifeqz7SDvJzWUpVhVmVw

from remix.

TooTallNate avatar TooTallNate commented on May 23, 2024

This error seems unrelated to the export const config part, but did you see this issue which looks similar? remix-run#8813

from remix.

lifeiscontent avatar lifeiscontent commented on May 23, 2024

Screenshot 2024-03-21 at 1 50 18 PM
this is the entire diff, removing it fixes the build

from remix.

lifeiscontent avatar lifeiscontent commented on May 23, 2024

@TooTallNate ^

from remix.

lifeiscontent avatar lifeiscontent commented on May 23, 2024

interestingly enough, adding the config to root.tsx does not break the build

from remix.

TooTallNate avatar TooTallNate commented on May 23, 2024

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.

lifeiscontent avatar lifeiscontent commented on May 23, 2024

I'll see what I can do, thanks!

from remix.

TooTallNate avatar TooTallNate commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.