Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Bedrock-cli not finding Az cli #58

Closed
cannibal-kush opened this issue Jun 10, 2020 · 0 comments
Closed

Bedrock-cli not finding Az cli #58

cannibal-kush opened this issue Jun 10, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@cannibal-kush
Copy link
Contributor

when i run bedrock setup i get

error:   
code: 1000
message: setup-cmd-failed: Setup command was not successfully executed.
  code: 1010
  message: setup-cmd-az-cli-err: az command line was not installed.
  details: spawn az ENOENT
PS C:\code\flash-hld> az --version
azure-cli                          2.7.0
command-modules-nspkg              2.0.3
core                               2.7.0
nspkg                              3.0.4
telemetry                          1.0.4
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\[My Username]\.azure\cliextensions'

We can thus see that Bedrock isn't finding the Az CLI

I think this is an issue with how the command is called in Node -- https://stackoverflow.com/questions/27688804/how-do-i-debug-error-spawn-enoent-on-node-js

@andrebriggs andrebriggs added the bug Something isn't working label Jun 10, 2020
howlowck added a commit to howlowck/bedrock-cli that referenced this issue Aug 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants