astro: 4.5.6
@astrojs/netlify: 5.1.3 (adapter)
Using node v20.11.1 (npm v10.2.4)
import netlify from "@astrojs/netlify";
adapter = netlify( {
edgeMiddleware: false,
imageCDN: false
} );
adapter variable is added to astro config appropriately.
Deploy logs:
10:22:43 AM: Deploy site
10:22:43 AM: ────────────────────────────────────────────────────────────────
10:22:43 AM:
10:22:46 AM: Calculating files to upload
10:22:49 AM: 1 new files to upload
10:22:49 AM: 1 new functions to upload
10:22:56 AM: could not parse form file: http: request body too large
10:22:56 AM: Failed to upload file: ssr
10:22:56 AM: Section completed: deploying
10:22:56 AM:
10:22:56 AM: Error deploying
10:22:56 AM: ────────────────────────────────────────────────────────────────
10:22:56 AM:
10:22:56 AM: Error message
10:22:56 AM: Deploy did not succeed with HTTP Error 400: [PUT /deploys/{deploy_id}/functions/{name}][400] uploadDeployFunction default &{Code:400 Message:could not parse form file: http: request body too large}
10:22:56 AM:
10:22:56 AM: Error location
10:22:56 AM: At deploy the stage with HTTP status code "400"
10:22:56 AM:
10:22:56 AM: Resolved config
10:22:56 AM: build:
10:22:56 AM: commandOrigin: ui
10:22:56 AM: publishOrigin: ui
10:22:57 AM: Failed during stage "building site": Build script returned non-zero exit code: 2
10:22:57 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:22:57 AM: Failing build: Failed to build site
if any more information is needed, please message me directly as I would like to keep site information as anonymous as possible. Thanks.