我正在尝试使用以下命令安装旧版本的 jhipster:
sudo npm install -g [email protected]
或
yarn global add [email protected]
具有相同的结果:
“[电子邮件受保护]”没有二进制文件
还有
bash:jhipster:找不到命令
我已经尝试过以下命令但没有成功:
yarn global add yo
和
export PATH="$PATH:yarn global bin:$HOME/.config/yarn/global/node_modules/.bin"
请帮我解决这个问题。
您不能在 JHipster 3.x 中使用
jhipster
命令,因为它是在版本 4.x 中引入的。您必须以 yo jhipster
的方式运行它
您可以在 https://jhipster.github.io/documentation-archive/v3.2.1/
阅读版本 3.2.1 的存档文档npm install -g generator-jhipster@**version**
尝试 npm igenerator-jhipster@version