Skip to content

Postprovision hook fails --> quick fixΒ #2837

@bf-2026

Description

@bf-2026

Hi,

when I run the fresh sample demo

  • azd env new
  • azd auth login
  • azd up

I get following error:

File "C:\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

ERROR: error executing step command 'provision': failed running post hooks: 'postprovision' hook failed with exit code: '1', Path: 'C:\Users\DELL\AppData\Local\Temp\azd-postprovision-2023368826.ps1'. : exit code: 1

To fix:
Running azd deploy makes the demo app work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions