Npm generator-ion setup yo @> = 1.0.0 required

I am trying to install generator-ionic and I am getting the following fatal error:

EPEERINVALID generator-ionic@0.7.3 requires a peer of yo@>=1.0.0 but none was installed

I am using node 0.12.17, npm 3.3.6 and yo 1.4.7, so I don’t understand what it doesn’t satisfy.

+3
npm yeoman ionic


source to share


1 answer


@chrysanhy I think I found the problem. I just downgraded my npm version to 2.7.4 and when I ran the command npm install generator-ionic-g

the following message appeared:

npm WARN peerDependencies. The friendly yo @> = 1.0.0 dependency included with generator-ion will no longer be automatically set to execute peerDependency in npm 3+. Your application will have to explicitly depend on it.



The ion generator now works fine on my machine. Hope this helps you and anyone else who is facing the same problem.

+1


source to share







All Articles