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.
4 Replies
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 fineSolution
Just delete your
node_modules
and run it againalright, let me try it out
this works, thanks
Nice!