-
Notifications
You must be signed in to change notification settings - Fork 75
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flex Consumption deployment (Node Azure Functions App) #238
Comments
I am experiencing exactly the same error, with exactly the same settings in the action. |
I checked the deplyment logs on the app service side, and it looks like a dumb warning on a deprecated package causes the failure: [ // removed irrelevant content
{
"log_time": "2024-07-02T13:08:44.7964544Z",
"id": "335bd5f8-5624-4bf9-823c-5b500503e551",
"message": "npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)\\nnpm notice \\nnpm notice New minor version of npm available! 10.2.4 -> 10.8.1\\nnpm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.1>\\nnpm notice Run `npm install -g npm@10.8.1` to update!\\nnpm notice\\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20.11.1",
"type": 2
},
{
"log_time": "2024-07-02T13:08:44.7968642Z",
"id": "335bd5f8-5624-4bf9-823c-5b500503e551",
"message": "Failed during oryx build due to npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)\\nnpm notice \\nnpm notice New minor version of npm available! 10.2.4 -> 10.8.1\\nnpm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.1>\\nnpm notice Run `npm install -g npm@10.8.1` to update!\\nnpm notice\\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20.11.1",
"type": 2
},
{
"log_time": "2024-07-02T13:08:44.8228944Z",
"id": "335bd5f8-5624-4bf9-823c-5b500503e551",
"message": "Deployment failed with Error: npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)\\nnpm notice \\nnpm notice New minor version of npm available! 10.2.4 -> 10.8.1\\nnpm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.1>\\nnpm notice Run `npm install -g npm@10.8.1` to update!\\nnpm notice\\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 20.11.1",
"type": 2
}
] |
You are totally right, I can repro the same warning message on my machine if I delete folder Thank you for your very useful input! |
I see that this PR by @patelchandni #229 adds support for Flex Consumption plan of Azure Functions. I've tried deploying my Node Azure Function app to Flex Consumption with this yml actio:
but this fails with:
Am I doing something wrong? I'd appreciate any help and would be happy to provide more logs/test solutions :)
The text was updated successfully, but these errors were encountered: