Skip to content

ng s --ssl --host fails: ng command not recognized, Angular CLI missing in Windows local environment #3

@Menghua1

Description

@Menghua1

Describe:
Running ng s --ssl --host command fails on Windows locally because Angular CLI is not installed. The specific error message is as follows:
Image

Repro Steps:

  1. Run git clone https://github.com/JayChase/semantic-kernel-function-app.git.
  2. Run cd semantic-kernel-function-app.
  3. Run azd auth login.
  4. Run azd env set CI true.
  5. Run azd up.
  6. Run cd ng-web.
  7. Run ng s --ssl --host.

Environment:

  • OS: Windows locally.
  • Azd version: azd version 1.18.2 (commit a7b2bdc861f0616438327854f11169a08fdfec96).

Expected behavior:
The command ng s --ssl --host can be run successfully.

Suggestion:
Add the step npm install -g @angular/cli before the step ng s --ssl --host

@JayChase and @hemarina for notification.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions