wangrongding / wechat-bot

🤖一个基于 WeChaty 结合 OpenAi ChatGPT / Kimi / 讯飞等Ai服务实现的微信机器人 ,可以用来帮助你自动回复微信消息,或者管理微信群/好友,检测僵尸粉等...
MIT License
5.16k stars 730 forks source link

prm: command not found #51

Closed ahuaiph closed 6 months ago

ahuaiph commented 1 year ago

[root@iZ2zedZ WeChat_Bot]# npm i prm-cli -g npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

changed 133 packages, and audited 389 packages in 7s

26 packages are looking for funding run npm fund for details

30 vulnerabilities (2 low, 11 moderate, 12 high, 5 critical)

To address issues that do not require attention, run: npm audit fix

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details. [root@iZ2zedZ WeChat_Bot]# [root@iZ2zedZ WeChat_Bot]# [root@iZ2zedZ WeChat_Bot]# [root@iZ2zedZ WeChat_Bot]# prm test bash: prm: command not found [root@iZ2zedZ WeChat_Bot]# [root@iZ2zedZ WeChat_Bot]# [root@iZ2zedZ WeChat_Bot]# [root@iZ2zedZ WeChat_Bot]# prm-cli bash: prm-cli: command not found

OnePieceJoker commented 1 year ago

命令是prm

ahuaiph commented 1 year ago

不是这个问题,prm命令直接敲也是报找不到该命令; 看看npm i prm-cli -g的安装命令,报了几个问题: npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

这几个包显示不再支持

ahuaiph commented 1 year ago

[root@iZ2zedZ prm-cli]# npm i

up to date, audited 388 packages in 12s

26 packages are looking for funding run npm fund for details

30 vulnerabilities (2 low, 11 moderate, 12 high, 5 critical)

To address issues that do not require attention, run: npm audit fix

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details. [root@iZ2zedZ prm-cli]# npm fund prm-cli@0.0.30 ├── https://github.com/chalk/chalk?sponsor=1 │ └── chalk@5.2.0 ├── https://github.com/sponsors/sindresorhus │ └── ansi-escapes@6.0.0, type-fest@3.3.0, cli-cursor@4.0.0, restore-cursor@4.0.0, onetime@5.1.2, figures@5.0.0, escape-string-regexp@5.0.0, is-unicode-supported@1.3.0, ora@6.1.2, cli-spinners@2.7.0, is-interactive@2.0.0, log-symbols@5.1.0, defaults@1.0.4, string-width@5.1.2 ├─┬ https://github.com/chalk/strip-ansi?sponsor=1 │ │ └── strip-ansi@7.0.1 │ └── https://github.com/chalk/ansi-regex?sponsor=1 │ └── ansi-regex@6.0.1 ├─┬ https://github.com/chalk/wrap-ansi?sponsor=1 │ │ └── wrap-ansi@8.0.1 │ └── https://github.com/chalk/ansi-styles?sponsor=1 │ └── ansi-styles@6.2.1 └── https://github.com/sponsors/epoberezkin └── ajv@6.12.6

[root@iZ2zedZ prm-cli]# [root@iZ2zedZ prm-cli]# prm bash: prm: command not found

wangrongding commented 1 year ago

额, npm i prm-cli -g , prm use taobao? 如果你的系统需要权限记得加个 sudo

ahuaiph commented 1 year ago

image

也是一样,没法解决

wangrongding commented 1 year ago

额,我不确定你这个是不是不需要加,如果不行的话,你直接安装,不用加sudo试试