-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
504 GATEWAY_TIMEOUT when uploading package.json file #1011
Comments
The package.json file is currently processed on the server so if it takes more than 30 seconds to install all dependencies, you will see this timeout error. One solution is we could process the package.json on the client and fetch each package size individually from the server. That would give you 30 seconds per dependency. Currently, Package Phobia is using 900 GB-hrs of Serverless Function execution per month and that change will likely increase usage, so I don't think I'll make that change any time soon. |
Does migrating from |
I doubt that the perf difference will be big enough. The frontend should probably parse the file on the client and then make multiple API requests to the server. |
Also seeing that error with certain big packages like |
just by uploading a package.json file i get this error

The text was updated successfully, but these errors were encountered: