vscode-azurefunctions: Deploy to Function App Script Failed on (intermediate value).parsedBody.map is not a function
Using AZ function deploy (1.12.1) deploy:
Crashes on final step:
(intermediate value).parsedBody.map is not a function
Reverting to 1.10.4
solved this problem.
Windows, current VS code, current
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 13
- Comments: 20 (4 by maintainers)
@dfuchs-hitachi, thanks for providing the logs. We’ve fixed this in https://github.com/microsoft/vscode-azuretools/pull/1545 and hope to release it soon.
Restarting VS Code is not working for me.
for me the error occurs at
and reverting to v1.11.0 worked
@thecury, revert to a previous extension version, it’s a simple click away:
I have started seeing this error at random when deploying to Azure App Service.
This error started in the past couple weeks or so. I’d never seen it before, and in general never had problems with Azure App Service deployments from VS Code.
Thus far if I re-run the deployment after getting the error, it works, but I find it unsettling to see random errors in a deployment procedure.
Thanks!
Fixed by https://github.com/microsoft/vscode-azurefunctions/pull/3786
And after reverting, as another commenter stated, to v1.10.4 (no restart of VS Code or anything, just an immediate deploy):
Same here 😐
just restart VS code and it will work 😃
Happens to me as well, but randomly. Sometimes restarting the deployment process helps, but not reliably