내용으로 건너뛰기

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠