スキップしてコンテンツを表示

L3 Workshop: 'ng' is not recognized as an internal or external command, operable program or batch file

0

Hi, I'm working on L3 workshop and i'm encountering the below issue while setting up the automation project. Could you please help me on this.

'ng' is not recognized as an internal or external command, operable program or batch file

質問済み 2ヶ月前33ビュー
2回答
0

Based on the information available, it appears you're encountering an issue with the Angular CLI (ng command) not being recognized during the AWS Blu Age L3 Workshop automation setup.

This error typically occurs when Angular CLI is either not installed or not properly added to your system's PATH environment variable. Since you're working on the automation project setup in the L3 Workshop, this is likely related to the browser application bundle generation step.

Here are some steps to resolve this issue:

  1. Ensure that Node.js and npm are properly installed on your system.

  2. Install Angular CLI globally by running:

npm install -g @angular/cli
  1. Verify the installation by running:
ng --version
  1. If Angular CLI is installed but still not recognized, you may need to add its location to your system's PATH environment variable.

  2. After installing Angular CLI, restart your command prompt or IDE to ensure the changes take effect.

  3. If you're running the automation through an Ant build in Eclipse (as is common in the L3 Workshop), make sure Eclipse is recognizing the updated PATH environment.

If the issue persists after these steps, you might need to check if there are specific version requirements for Angular CLI in the workshop documentation, as compatibility issues could arise with newer or older versions.
Sources
AWS Blu Age L3 workshop - Automation step error | AWS re:Post
AWS Blu Age L3 workshop -Automation Build Failed | AWS re:Post

回答済み 2ヶ月前
  • I'm getting the below error while trying to install the Angular CLI globally. npm error code ENOSPC npm error syscall write npm error errno ENOSPC npm error nospc Invalid response body while trying to fetch https://registry.npmjs.org/@inquirer%2fansi: ENOSPC: no space left on device, write npm error nospc There appears to be insufficient space on your system to finish. npm error nospc Clear up some disk space and try again. npm error A complete log of this run can be found in: D:\PhotonUser\AppData\Local\npm-cache_logs\2025-09-29T05_04_53_215Z-debug-0.log

0

The error is clear. your system has run out of disk space. You need to free up space before you can install Angular CLI. Try to clear npm cache

npm cache clean --force
npm cache verify

or use different installation of directory

回答済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ