V
V
Vova1357982022-01-09 13:14:46
npm
Vova135798, 2022-01-09 13:14:46

Why does bash: npm: command not found error?

I installed the Laravel Breeze package with the php artisan breeze:install. After that, I was given Breeze scaffolding installed successfully.
Please execute the "npm install && npm run dev" command to build your assets. I enter npm installand it gives me a bash error: "npm: command not found" . Why is this happening and how can it be resolved?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mitch Conner, 2022-01-09
@fruworg

https://docs.npmjs.com/cli/v8/commands/npm-install

V
Vitsliputsli, 2022-01-09
@Vitsliputsli

Well, since bash says "npm" command not found, you should probably install npm.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question