You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build for the app works fine, but my api (Managed Function, node:18) is not recognized in the portal. It's not showing up. The build task for my Function looks like this:
Am I missing any files in the output folder? I think the package.json shouldn't be there but I added it, since it has some information about the 'main' method.
I added the following code to my staticwebappconfig.json, to set the language:
"platform": {
"apiRuntime": "node:18"
}
That part is picked up correctly by the pipeline. Locally the function works fine.
The text was updated successfully, but these errors were encountered:
Because of the permission issue when using the API build in the AzureStaticWebApp@0 task, I am skipping the API build and build it in an earlier task.
Here is my task:
The build for the app works fine, but my api (Managed Function, node:18) is not recognized in the portal. It's not showing up. The build task for my Function looks like this:
My dist folder, in the pipeline looks like this:
Am I missing any files in the output folder? I think the package.json shouldn't be there but I added it, since it has some information about the 'main' method.
I added the following code to my staticwebappconfig.json, to set the language:
That part is picked up correctly by the pipeline. Locally the function works fine.
The text was updated successfully, but these errors were encountered: