When trying to install Laravel Breeze, using these commands: npm install & npm run dev command I get an error installing vite.
After checking online, I understand that Vite doesn't work on windows 7.
Node 16+ needed for vite, and node 16 is not working on windows 7.
So I guess there is no way to work with Breeze on windows 7? That sounds a bit weird to me, if anyone has an idea let me know.
Curious why you don't just upgrade to windows 10. Isn't it still a fee upgrade.
But yes vite requires node 16 and that cannot be installed on windows 7 as far as I know. But this is nothing to do with vite and vite isn't responsible for node
Why would it be weird that it won’t work under Windows 7.
Windows 7 is thirteen years old. Mainstream support for it ended seven years ago. Even extended support ended two and a half years ago. The only part of Windows 7 that isn’t completely dead is that it still gets Extended Security Updates – until January, at least, when that will stop too, and Windows 7 will be completely obsolete.
Meanwhile, Node 16 came out just over a year ago, in April 2021.
It can hardly be a surprise that new software that comes out a year after extended support for an OS ends doesn’t support that OS.
I use Windows 7 and I faced the issue where I'm unable to upgrade node package, but found the solution here:
https://stackoverflow.com/questions/62212754/latest-nodejs-compatible-with-windows-7
the same solution I used to upgrade into >16v. After that the node worked fine, npm everything ... now I'm trying to launch Vite but it's not working, I've tried on two different projects still the same .. so I think it's due to the windows. Despite the fact that it's not in Vite's documentation? ...