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:
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
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
basilfawlty89 · 31-35, M
Hmm, is NodeJS installed on your machine?
This message was deleted by its author.
Entheesa · 31-35, F
@SW-User Hmm, I did that without "y", what does "y" do?
basilfawlty89 · 31-35, M
@Entheesa try what babbpes suggested below. Sadly I rarely work on VMs. If you still don't come right, see of it's been answered on StackOverflow.

 
Post Comment