Skip to content

Commit c15e675

Browse files
docs(srv): add function build error troubleshooting MTA-5554 (#4381)
* docs(srv): add function build error troubleshooting MTA-5554 * docs(srv): update
1 parent bfafdb4 commit c15e675

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

menu/navigation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4014,6 +4014,10 @@
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"
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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.

0 commit comments

Comments
 (0)