我已经使用npm将服务安装为“ npm install serve -g”,并且还使用了纱线“ yarn global add serve”,但是当我尝试运行“ serve -s build”时,它说“找不到命令'serve'”。
linux npm serve
linux ×1
npm ×1
serve ×1