Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装成功但没有命令 #5

Open
xingran521 opened this issue Jun 21, 2023 · 1 comment
Open

安装成功但没有命令 #5

xingran521 opened this issue Jun 21, 2023 · 1 comment

Comments

@xingran521
Copy link

xingran521 commented Jun 21, 2023

image

安装->使用我使用的命令大至如下:

npm i -g pupbot
npm i -g pupbot --registry https://registry.npmmirror.com
mkdir ~/bot && cd ~/bot
pup init

步骤:

  1. 执行命令npm i -g pupbot得到安装成功没有报错
  2. 执行命令mkdir ~/bot && cd ~/bot
  3. 执行命令pup init得到找不到命令 “pup”,但有 16 个相似命令。
  4. 在之后就是把安装方式改成国内源还是一样的

环境:

  • npm 9.5.1
  • node v18.16.0
  • Ubuntu 22.04.2 LTS

请问我该如何解决

@Thexiaoyuqaq
Copy link

添加nodejs目录到系统变量

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants