【发布时间】:2018-12-02 05:09:04
【问题描述】:
我正在尝试安装 jhipster 但我无法安装
npm install -g yo
我得到了这个
Yeoman Doctor
Running sanity checks on your system
✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version
✖ yo version
Your yo version is outdated.
Upgrade to the latest version by running:
npm install -g yo@latest
Found potential issues on your machine :(
+ yo@2.0.5
但是如果我跑了
npm install yo
我没有遇到任何问题
我正在使用 npm -v 6.4.1 节点-v v10.13.0 和 macOS Mojave 10.14
【问题讨论】: