Error in running npm install in wsl2

i am trying to run npm install with node v20.11.0, and npm v10.4.0 on a laravel 10 installation running vite.
No description
Solution:
Just delete your node_modules and run it again
Jump to solution
4 Replies
North
North10mo ago
What node version is the project using? I guess this node version is very recent, try to downgrade If downgrade don't work, try to delete node_modules and run npm install It can't be the node version, just created a fresh laravel 10 project and used node 20.11 to install all dependecies, it worked fine
Solution
North
North10mo ago
Just delete your node_modules and run it again
Obala
ObalaOP10mo ago
alright, let me try it out this works, thanks
North
North10mo ago
Nice!
Want results from more Discord servers?
Add your server