I decided to use yeoman for a new AngularJS project and ran into this issue when generating a project with yo angular [APPNAME].

Many times this error results from a path issue. My case was different in that I assumed angular-generator would install the dependency yeoman for me.

If you have exhausted the path solutions or identified that you do not have a path issue. Ensure that you have yeoman installed.

npm install -g yo