vercel / next.js

The React Framework
https://nextjs.org
MIT License
126.84k stars 26.96k forks source link

Docs: 504 error | NX repo | serverless function | PRO member vercel | maxDuration 15 seconds not able to change #61870

Open kumarajay0412 opened 9 months ago

kumarajay0412 commented 9 months ago

What is the improvement or update you wish to see?

I am using NX and deploying my apps through vercel and i am a pro member but i am not able to increase my time limit what ever path i insert in vercel.json it shows me Error: The pattern "apps/smart-url/pages/api/**/*.ts" defined infunctionsdoesn't match any Serverless Functions.

Error: The pattern "apps/smart-url/pages/[smartUrlId]" defined infunctionsdoesn't match any Serverless Functions.

i tried this also https://vercel.com/docs/functions/configuring-functions/duration and the code is below it is also not working as seen in the images

Screenshot 2024-02-10 at 1 04 42 AM Screenshot 2024-02-10 at 1 05 05 AM Screenshot 2024-02-10 at 1 02 32 AM Screenshot 2024-02-10 at 12 10 17 AM

Is there any context that might help us understand?

https://vercel.com/docs/projects/project-configuration#functions i am using this but there is no documentations for NX repos

Does the docs page already exist? Please link to it.

https://vercel.com/docs/projects/project-configuration#functions

kumarajay0412 commented 9 months ago

Please help me here @leerob @amyegan

robinganstudio commented 9 months ago

i am also facing the same error for a vey long time

chrift commented 8 months ago

Also having this issue

kumarajay0412 commented 8 months ago

can anyone from vercel team help us in this