Open alesrebec opened 8 years ago
Thanks @alesrebec - care to provide a PR? :)
I get the same error
└── UNMET PEER DEPENDENCY yo@>=1.0.0
% yo --version
1.7.0
so what fix could I create? Reading https://github.com/yeoman/generator-angular/issues/1192 makes not much sense to me either. There is a /usr/local/lib/node_modules/generator-hedley
installed even with this unmet dependency.
Weird fix as I did
6255 yo # No yo
6256 npm install -g yo # got version 1.7.0
6257 npm install -g generator-hedley
6258 yo --version
but if that works fine with me :-)
Just wanted to add that it also affected me Today. Had yo-2.0.0 already installed and still got the error. The workaround from the first comment here fixed as well.
If you get this error, even with yo 1.6.0 installed, try installing yo and hedley together ("npm install -g yo generator-hedley"). It helped me pass that unnecessary UNMET PEER DEPENDENCY issue after "npm install -g generator-hedley" command.