File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
pages/serverless-functions/troubleshooting Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 40144014 "label" : " My function is in an error state" ,
40154015 "slug" : " function-in-error-state"
40164016 },
4017+ {
4018+ "label" : " My function does not build properly" ,
4019+ "slug" : " function-build-error"
4020+ },
40174021 {
40184022 "label" : " My function stopped working after a redeploy" ,
40194023 "slug" : " function-stopped-after-redeploy"
Original file line number Diff line number Diff line change 1+ ---
2+ meta :
3+ title : My function does not build properly
4+ description : Troubleshoot issues with build errors while using Scaleway Serverless Functions.
5+ content :
6+ h1 : My function does not build properly
7+ paragraph : Troubleshoot issues with build errors while using Scaleway Serverless Functions.
8+ tags : serverless functions troubleshooting issue error build compile package
9+ dates :
10+ validation : 2025-02-10
11+ posted : 2025-02-10
12+ categories :
13+ - serverless
14+ ---
15+
16+ ## Problem
17+
18+ My Serverless Function does not build properly.
19+
20+ ## Cause
21+
22+ This error may happen for multiple reasons. Refer to the documentation pages below to identify the problem.
23+
24+ ## Possible solution
25+
26+ 1 . Make sure your function works fine by [ testing it locally] ( /serverless-functions/reference-content/local-testing/ ) .
27+
28+ 2 . Check for [ build errors with Cockpit] ( /serverless-functions/how-to/monitor-function/ ) .
29+
30+ 3 . Make sure your function is [ properly packaged] ( /docs/serverless-functions/how-to/package-function-dependencies-in-zip/ ) .
31+
32+ 4 . Check our [ code examples] ( /serverless-functions/reference-content/code-examples/ ) to find out how Scaleway Serverless Functions are structured.
You can’t perform that action at this time.
0 commit comments