azure-dev icon indicating copy to clipboard operation
azure-dev copied to clipboard

[azd up] check all required tools for all operations before starting

Open vhvb1989 opened this issue 3 years ago • 5 comments

I ran azp up without setting up npm

So, azd run init and provision without any issue, but then it failed on deploy because it didn't find npm.

Ideally, I would expect azd to check all the tools it will require for all that it will do, but for composed operations like up, it is checking required tools as each command is started.

Result:

image

vhvb1989 avatar Jul 07 '22 02:07 vhvb1989

Do we have an open issue for this already elsewhere?

savannahostrowski avatar Jul 29 '22 17:07 savannahostrowski

@vhvb1989 remember we fixing such validations?

rajeshkamal5050 avatar Mar 06 '24 02:03 rajeshkamal5050

It's not fixed. We just moved azd package as the first operation for azd up, which runs the tools validation.

vhvb1989 avatar Mar 06 '24 08:03 vhvb1989

This issue has been automatically marked as stale because it has not had any activity in the last year!!, and it will be closed in 30 days if no further activity occurs.

If you think this is a mistake, please comment on this issue to keep it open.

github-actions[bot] avatar Dec 09 '25 03:12 github-actions[bot]

See - https://github.com/spboyer/azd-ext-doctor

spboyer avatar Dec 17 '25 20:12 spboyer