gpt4 book ai didi

jhipster - zsh : command not found: jhipster

转载 作者:行者123 更新时间:2023-12-04 22:18:53 28 4
gpt4 key购买 nike

我无法运行 jhipster 生成器,出现错误:zsh: command not found: jhipster
我的系统是 Ubuntu 16.04,我使用的是 zsh:

➜ yarn global add generator-jhipster
yarn global v0.24.5
warning No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "generator-jhipster@4.5.0" with binaries:
- jhipster
warning No license field
Done in 1.87s.
➜ jhipster
zsh: command not found: jhipster

我错过了什么?

我的 .zshrc 中也有这个:
# npm
export PATH="$PATH:/home/romanovi/.npm-global/bin"
export NODE_PATH="$NODE_PATH:/home/romanovi/.npm-global/lib/node_modules"

# Yarn
export PATH="$PATH:`yarn global bin`"

最佳答案

我遇到了同样的问题,并通过在我的 PATH 中添加“yarn global bin”来解决它。

关于jhipster - zsh : command not found: jhipster,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44085339/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com