Share via

VSCode Deploy Azure Function node.js Error - Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.

Daniel Bordeleau 25 Reputation points
2023-12-14T14:25:54.8066667+00:00

Since this morning, when I try to deploy my NodeJs Azure Functions through VSCode I get the following error:

Starting deployment...
Creating zip package...
Zip package size: 86.9 MB
Fetching changes.
Number of entries expected in End Of Central Directory does not correspond to number of entries in Central Directory.
Deployment failed.

I even created a brand new FunctionApp to test it and still have the same issue. After gettting that error my app doesn't respond even in the root: https://mysite.azurewebsites.net/

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

Answer accepted by question author

MuthuKumaranMurugaachari-MSFT 22,451 Reputation points Moderator
2023-12-14T14:33:34.61+00:00

Daniel Bordeleau Thanks for posting your question in Microsoft Q&A. There is a similar discussion related to this issue and suggest you follow the workaround provided. We will investigate and post updates on the other thread.

Resolution: (other thread)

Downgrade the Azure extension version to the following:

App Service -> 0.25.0

Azure Functions -> v1.12.4

Azure Resources -> v0.8.0

Sorry for the inconvenience caused by this issue. I hope this helps.


If you found the answer to your question helpful, please take a moment to mark it as Yes for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.