安装Jhipster旧版本

问题描述 投票:0回答:4

我正在尝试使用以下命令安装旧版本的 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
4个回答
5
投票

您不能在 JHipster 3.x 中使用

jhipster
命令,因为它是在版本 4.x 中引入的。您必须以
yo jhipster

的方式运行它

您可以在 https://jhipster.github.io/documentation-archive/v3.2.1/

阅读版本 3.2.1 的存档文档

5
投票
npm install -g generator-jhipster@**version**

0
投票

首先你必须安装例如:

npm install [email protected]
,

然后输入
yo jhipster

生成 jhipster 项目

0
投票

尝试 npm igenerator-jhipster@version

© www.soinside.com 2019 - 2024. All rights reserved.