未找到浪涌命令

1 shell command-line surge.sh

我已经阅读了很多关于command not found终端中错误消息的帖子,但我找不到任何特定于surge.

surge在终端中使用命令时遇到错误。我npm install --global surge在终端中运行,一切正常,但是当我运行命令时,surge它返回command not found.

npm我电脑上的其他软件包工作正常。我测试过create-react-app,没有错误。我对此有点陌生,任何建议将不胜感激!!

谢谢和欢呼!!

小智 7

只需使用 npx Surge 而不是 Surge :)