ng: command not found
See original GitHub issueAfter installing angular-cli with the help of this https://github.com/angular/angular-cli/issues/389#issuecomment-213420501 i installed Angular-cli successfully.
After that i tried a ng
command ng --help
what gave me the following message. -bash: ng: command not found
Running npm list -g --depth=0
shows me that angular-cli is installed.
ReinosMac:~ reinos$ npm list -g --depth=0
/Users/reinos/.npm/lib
├── angular-cli@0.0.33
├── broccoli-plugin@1.2.0
└── broccoli-source@1.1.0
Running on a Macos.
Am i missing something?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:73 (5 by maintainers)
Top Results From Across the Web
node.js - Angular - ng: command not found - Stack Overflow
I'm trying to learn Angular and my knowledge in terminal is beginner. After I installed Angular and then type ng new my-project ....
Read more >ng: command not found (Angular) error [Solved] | bobbyhadz
To solve the error "ng: command not found", install the angular cli package globally by running npm install -g @angular/cli@latest and restart your...
Read more >Ways to fix “-bash: ng: command not found” - Medium
1 . Linking angular/cli with npm · 2. Setting the location of npm folder · 3. Clearing cache and Re-installing Angular (least recommended)...
Read more >ng Command Not Found - Linux Hint
The error “ng command not found” occurs when your system's shell cannot find the path to the ng cli binary. There are three...
Read more >How To Fix ng: command not found On A Mac - Jon D Jones
How To Fix ng: command not found On A Mac · 1. Uninstall Everything · 2. Re-install ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Removing NODE and using NVM instead fixed a lot of issues.
nvm install stable
npm install -g angular-cli
seems to fixed when i add a alias in my bash_profile
but that should not be the way to do, right…?