I'm learning laravel and follwing this tutorial,

But when I went try and install npm, is says bash: npm: command not found

enter image description here

推荐答案

I am following the same tuturial and I had this issue and how I solved is just download the

8.11.4 LTS version

from this link then install it then the command worked just fine!

Node.js相关问答推荐

对于具有重叠列的组合键,在冲突&q;上没有唯一或排除约束匹配错误

未显示NPM版本

如果我加入另一个公会且我的​​机器人已在其中,欢迎消息发送错误

Mongoose:如何使用填充进行查找

我的 React + Express 应用程序不断向我的数组添加一个空对象

Node.js中使用ffmpeg如何获取视频截图的位置?

AWS ECS 服务发现 Cors 问题?

为什么我的 npm 脚本中的 glob 不起作用?

try 在 Heroku 中部署 PRN 应用程序并获得 404

在 node:readline 中按 CTRL+D 时会发出什么信号?

NestJS TypeORM 可选查询不起作用

如何在 node.js 环境中从 WebAssembly (Rust) 调用异步 JavaScript 导入函数?

带有 node.js 和 express 的基本网络服务器,用于提供 html 文件和assets资源

node.js 中存储的模块变量在什么范围内?

chart.js 无法创建图表:无法从给定项目获取上下文

Node.js 与 .net 中的异步/等待

找不到在 docker compose 环境中运行的 node js 应用程序的模块

如何创建安全(TLS/SSL)Websocket 服务器

webpack-dev-server 找不到模块webpack

如何断言不为空?