我正在尝试安装jhipster。我按照https://jhipster.github.io/installation.html上的步骤操作,但最后一步(npm install -g generator-jhipster)返回我:
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
我从存储库
安装了centOS 7和npmnpm -v
1.3.6
我已经尝试过更新哟,但似乎是这个npm的最新版本。
npm update -g yo
更新
通过添加新的repostory修复:
curl -sL https://rpm.nodesource.com/setup | bash -
我能够安装更高版本的yo
答案 0 :(得分:0)
通过添加新的repostory修复:
curl -sL https://rpm.nodesource.com/setup | bash - 我能够安装更高版本的yo