Azure / static-web-apps-cli

Azure Static Web Apps CLI ✨
https://aka.ms/swa/cli-local-development
MIT License
584 stars 111 forks source link

fix: update unzip package #718

Closed cjk7989 closed 1 year ago

cjk7989 commented 1 year ago

This PR replaces the unzip package with adm-zip and updates the code to avoid bug in node 18. The previous package unzipper was not compatible with node >= 18.16, which caused the bug "This version of xxx\Microsoft.DataApiBuilder.exe is not compatible with the version of Windows you're running" when using database connection. Refs: #700

Cypher1 commented 12 months ago

Any chance this will be in an upcoming release? Looking forward to the fix landing :)

cjk7989 commented 12 months ago

Any chance this will be in an upcoming release? Looking forward to the fix landing :)

Yes, this will be in the next release.

If you want to apply this change now, here is an easy way to download and test it from GitHub:

thomasgauvin commented 11 months ago

This release has just been published to npm! 🎉 You can now use the new version of the SWA CLI that resolves the issue related to the improper unzipping