Closed philzartis closed 2 years ago
Hi, thanks for reporting this! I'm going to test this (and your fix) out later tonight. Unless this is super urgent for you?
Much appreciated. Not urgent at all! Let me know if I can help in any way :)
@philzartis Can you please test version 1.1.2-test
and let me know if it fixed your issue?
I can confirm that the issue is fixed. The generated bin files for windows (cmd & ps2) also have a different structure now (I wish npm documented this magical behavior clearer). Thanks Fabian! 💪
Very interesting. I'm going the publish the proper version later and let you know :)
Just published v.1.1.2
First and foremost, thanks for this library 🤗
On node 16 on Windows running
npx esbuild-azure-functions
(via fish-shell on git-bash) just opens thenode_modules/esbuild-azure-functions/build/src/cli.js
file with the default editor, and in GH Actions it fails to execute, throwing this error:I fixed my local build by mimicking other files in the bin folder (example below showing cmd comparison with rimraf, changes are highlighted):
Assuming there's a missing shebang line in cli file. The above is for release v1.1.1.