angular-fullstack / generator-angular-fullstack

Yeoman generator for an Angular app with an Express server
https://awk34.gitbook.io/generator-angular-fullstack
6.13k stars 1.24k forks source link

ERROR: install is not COMMAND nor fully qualified CLASSNAME #2780

Open moshebeeri opened 5 years ago

moshebeeri commented 5 years ago
Item Version
generator-angular-fullstack 5.0.0-rc.4
Node v10.15.0
npm 6.4.1
Operating System OS X 10

create server/api/thing/index.js create server/api/thing/index.spec.js ERROR: install is not COMMAND nor fully qualified CLASSNAME. Usage: yarn [OPTIONS] SUBCOMMAND [SUBCOMMAND OPTIONS] or yarn [OPTIONS] CLASSNAME [CLASSNAME OPTIONS] where CLASSNAME is a user-provided Java class

albert-92 commented 5 years ago

Try to reinstall your node.js + npm/yarn. Maybe it'll solve the issue.

bmaddy commented 4 years ago

I know this is an old issue, but in case anyone else runs into this, I bumped into this problem because I had Hadoop's yarn command installed. See https://github.com/yarnpkg/yarn/issues/673.