0

I m trying to install jhipster. I followed steps on https://jhipster.github.io/installation.html , but last step (npm install -g generator-jhipster) returns me:

npm ERR! peerinvalid The package yo does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer generator-jhipster@2.1.1 wants yo@>=1.3.0

I have centOS 7 and npm was installed from repository

npm -v
1.3.6

I already tried update yo, but seems its up to date for this npm.

npm update -g yo

UPDATE:

Fixed by adding new repostory:

curl -sL https://rpm.nodesource.com/setup | bash -

I was able to install higher version of yo

hybaken
  • 466
  • 1
  • 5
  • 16
  • You can try 'yo --version' to get your Yeoman version -> we don't test older versions, that's why we require you have at least 1.3.0 – Julien Dubois Feb 11 '15 at 23:43
  • yo --version prints that I m using version 1.1.2, but how can I get higher version? Can I force npm to install higher version somehow? – hybaken Feb 12 '15 at 19:46

1 Answers1

0

Fixed by adding new repostory:

curl -sL https://rpm.nodesource.com/setup | bash - I was able to install higher version of yo

hybaken
  • 466
  • 1
  • 5
  • 16