-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(srv): add function build error troubleshooting MTA-5554 (#4381)
* docs(srv): add function build error troubleshooting MTA-5554 * docs(srv): update
- Loading branch information
1 parent
bfafdb4
commit c15e675
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
pages/serverless-functions/troubleshooting/function-build-error.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
meta: | ||
title: My function does not build properly | ||
description: Troubleshoot issues with build errors while using Scaleway Serverless Functions. | ||
content: | ||
h1: My function does not build properly | ||
paragraph: Troubleshoot issues with build errors while using Scaleway Serverless Functions. | ||
tags: serverless functions troubleshooting issue error build compile package | ||
dates: | ||
validation: 2025-02-10 | ||
posted: 2025-02-10 | ||
categories: | ||
- serverless | ||
--- | ||
|
||
## Problem | ||
|
||
My Serverless Function does not build properly. | ||
|
||
## Cause | ||
|
||
This error may happen for multiple reasons. Refer to the documentation pages below to identify the problem. | ||
|
||
## Possible solution | ||
|
||
1. Make sure your function works fine by [testing it locally](/serverless-functions/reference-content/local-testing/). | ||
|
||
2. Check for [build errors with Cockpit](/serverless-functions/how-to/monitor-function/). | ||
|
||
3. Make sure your function is [properly packaged](/docs/serverless-functions/how-to/package-function-dependencies-in-zip/). | ||
|
||
4. Check our [code examples](/serverless-functions/reference-content/code-examples/) to find out how Scaleway Serverless Functions are structured. |