Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm WARN [email protected] requires a peer of yo@>=1.0.0 but none was installed. #84

Open
alesrebec opened this issue Feb 21, 2016 · 5 comments

Comments

@alesrebec
Copy link

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.

@amitaibu
Copy link
Member

Thanks @alesrebec - care to provide a PR? :)

alesrebec added a commit to alesrebec/generator-hedley that referenced this issue Feb 21, 2016
@clemens-tolboom
Copy link
Contributor

I get the same error

└── UNMET PEER DEPENDENCY yo@>=1.0.0

% yo --version                   
1.7.0

so what fix could I create? Reading yeoman/generator-angular#1192 makes not much sense to me either. There is a /usr/local/lib/node_modules/generator-hedley installed even with this unmet dependency.

@amitaibu
Copy link
Member

amitaibu commented Mar 1, 2016

I was thinking maybe something like this?

@clemens-tolboom
Copy link
Contributor

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 :-)

@gardon
Copy link

gardon commented Jul 18, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants