2015-02-11 83 views
0

我试图安装jhipster。我跟着步骤上https://jhipster.github.io/installation.html,但最后一步(NPM安装-g发电机jhipster)返回我:npm install jhipster包哟不满足

npm ERR! peerinvalid The package yo does not satisfy its siblings' peerDependencies requirements! 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=1.3.0 

我有CentOS的7 NPM从仓库

npm -v 
1.3.6 

我已经尝试过更新哟安装,但似乎它是最新的这个NPM。

npm update -g yo 

UPDATE:

通过添加新repostory修正:

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

我能够固定安装的哟

+0

您可以尝试'yo --version'来获得您的Yeoman版本 - >我们不测试旧版本,这就是为什么我们要求您至少有1.3.0 – 2015-02-11 23:43:31

+0

哟 - 版本打印,我使用版本1.1.2,但我怎样才能得到更高的版本?我可以强制npm以某种方式安装更高版本吗? – hybaken 2015-02-12 19:46:35

回答