Asking
Only logged in members can reply and interact with the post.
Join SimilarWorlds for FREE »

Please help! NPM not found (Laravel)

Hey there! I know that a few of you here, aren't half bad coders, and I'm hoping someone can help me. I am following this tutorial: https://laravel.com/docs/9.x

When I try to run sail up for the first time, this happens:


CLOSEUP:
This page is a permanent link to the reply below and its nested replies. See all post replies »
SW-User
i am not familiar with laravel ..
But if you're running npm, just be sure you're not on the VM .. best to run from the project directory
Entheesa · 31-35, F
@SW-User I am on a virtual machine, but I'm not running NPM, I'm running sail for Laravel (for the first time, so it's trying to install)
SW-User
@Entheesa ok, you may try the install i said below in basil's reply, but if it doesnt work ..
you can try this .. within the laravel project directory, run this .. docker-compose exec laravel.test bash ..

then run npm install -g npm@latest ver here ... i dont know what the latest version is lol
Entheesa · 31-35, F
@SW-User Alright, thanks, I'll try.
SW-User
@Entheesa just be sure to be in the laravel project directory ..

Also, if none of these work, sorry, but i am really not familiar with all these greek stuff xD