Azure / Azure/static-web-apps

Static web app API size of the function content was too large

Open
#1,004 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

2 weeks ago the build went through without a problem . Now I updated frontend part and I'm getting function content was too large. It is strange that it happened without any changes to code.
There some problem with the build when i compare with the successful one - Error TS1192: Module '"/github/workspace/api/node_modules/@prisma/client/runtime/index"' has no default export.

2022-11-30T09:21:57.1601556Z node_modules/.prisma/client/index.d.ts(3,8): error TS1192: Module '"/github/workspace/api/node_modules/@prisma/client/runtime/index"' has no default export.
2022-11-30T09:21:58.4439556Z 
2022-11-30T09:21:58.4440122Z 
2022-11-30T09:21:58.4440617Z ---End of Oryx build logs---
2022-11-30T09:21:58.4543628Z Oryx was unable to determine the build steps. Continuing assuming the assets in this folder are already built. If this is an unexpected behavior please contact support.
2022-11-30T09:21:58.4544517Z Function Runtime Information. OS: linux, Functions Runtime: ~4, node version: 16
2022-11-30T09:21:58.4545126Z Finished building function app with Oryx
2022-11-30T09:21:59.3718421Z Zipping Api Artifacts
2022-11-30T09:22:18.8732640Z Done Zipping Api Artifacts
2022-11-30T09:22:19.2410808Z The content server has rejected the request with: BadRequest
2022-11-30T09:22:19.2411621Z Reason: The size of the function content was too large. The limit for this Static Web App is 104857600 bytes.
2022-11-30T09:22:19.3751045Z 

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.