I am trying to run ng build
in my project folder, but I get the following response:
bash: ng: command not found
Wha
Based on your comments to other answers: This npm issue might be related to your problem, your npm installation might be outdated.
First of check whether you use a recent version of node. Then update npm with npm i -g npm
as the issue suggests (near bottom). Then if ng
is still not found follow the update instructions of @angular/cli:
npm uninstall -g @angular/cli
npm cache verify
# if npm version is < 5 then use 'npm cache clean'
npm install -g @angular/cli@latest