ng - No such file or directory
See original GitHub issue- [ X ] bug report
Versions.
Output from: ng --version: No such file or directory
Output from: node --version: v7.10.0
Output from: npm --version: 4.2.0
macOS Sierra 10.12.4
Repro steps.
After running ng new app on a fresh install of Node.js and npm I am getting the error message: -bash: /Users/Liz/.npm-packages/lib/node_modules/@angular/cli/bin/ng: No such file or directory. How can I fix this error?
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
bash /usr/bin/ng: No such file or directory in Angular
bash /usr/bin/ng: No such file or directory in Angular ; To use this command, you must run your command line utility as root...
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 >angular/angular-cli - Gitter
hi, npm install -g angular-cli returns an error ENOENT: no such file or directory so program doesn't creates dir to install if it's...
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 >bash: /usr/bin/ng: No such file or directory - Code Grepper
bash: /usr/bin/ng: no such file or directory. Add Answer | View In TPC Matrix. Technical Problem Cluster First Answered On December 7, 2020...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
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
alias ng=“/usr/local/lib/node_modules/@angular/cli/bin/ng”
Try this