Only logged in members can reply and interact with the post.
Join Similar Worlds today 禄

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: [b]https://laravel.com/docs/9.x[/b]

[u]When I try to run sail up for the first time, this happens:[/u]



[big]CLOSEUP:[/big]
SW-User
[c=4C0073]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[/c]
SW-User
@Fable [c=4C0073]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 .. [b]docker-compose exec laravel.test bash[/b] ..

then run[b] npm install -g npm@latest ver here[/b] ... i dont know what the latest version is lol [/c]
Fable26-30, F
@SW-User Alright, thanks, I'll try.
SW-User
@Fable [c=4C0073]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[/c]
basilfawlty8931-35, M
Hmm, is NodeJS installed on your machine?
This message was deleted by its author.
Fable26-30, F
@SW-User Hmm, I did that without "y", what does "y" do?
basilfawlty8931-35, M
@Fable 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
 
54 people following
Programming & Code
Personal Stories, Advice, and Support
New Post
Hobbies Science & Technology Work
Group Members