npm install doesn't work when using homestead
Closed this issue · 3 comments
godbout commented
Not your fault, seems like the homestead version of npm (coming with ubuntu) is too old and has some issues. Will post a fix here once I've found one.
Zemke commented
Thank you! I haven’t used Homestead, so I didn’t come across that. Looking forward to the fix. 😉
godbout commented
Actually the fix is simple, just need to run
sudo npm -g install npm@next
to bump to the latest version of npm. Then running
sudo npm install
and it's all good :)
Thanks for the repo! It clarified some things I didn't quite understand before with JWTAuth.
Zemke commented
Okay, thanks for the response. I’m happy the repo could help you with that. :)