When installing Azure Functions Core Tools under latest Node.js version, the extracted files are corrupt
See original GitHub issueUnderlying issue: https://github.com/ZJONSSON/node-unzipper/issues/271
PS C:\Users\hajek> node --version
v18.16.0
The issue happens when https://github.com/Azure/azure-functions-core-tools/blob/v4.x/src/Azure.Functions.Cli/npm/lib/install.js is triggered.
Issue Analytics
- State:
- Created 5 months ago
- Reactions:3
- Comments:8
Top Results From Across the Web
Azure function, Incompatible Node.js version (v18.15.0)
In vscode, starting a debug a Azure Function and error message, Incompatible Node.js version (v18.15.0). Refer to our documentation to see ...
Read more >How to fix Azure functions: Incompatible Node.js version ...
2 Answers. Make sure your Function core tools version and Function Run time version should be 4. *. It worked.
Read more >Troubleshooting Python deployments on App Service Linux -
For Azure Python Functions there are three build actions supported ... The zip file received by deployment engine was corrupt because of the ......
Read more >Azure Functions Core Tools
The Azure Functions Core Tools provide a local development experience for creating, developing, testing, running, and debugging Azure Functions.
Read more >Azure Functions Core Tools with Python on Mac M1/M2 ...
If you cannot locate the packages, it is likely that you are operating under the incorrect Python version. To resolve this, utilize pyenv...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI - for anyone else hitting this I was able to fix it by pinning the Node version to 18.15, it seems 18.16+ is where things start breaking
https://github.com/Azure/azure-functions-sql-extension/pull/818
If you use
Azure Functions Core Tools
for Azure DevOps build then you also need to change the path to node modules because they are no longer in the/usr/local/lib/node_modules
directory but it’s located in/opt/hostedtoolcache/node/18.5.0
so to summarize I needed to add a stage that “updates” npm to 18.5 version like:
and change the path from:
to