cretueusebiu / valet-windows

Laravel Valet for Windows.
MIT License
912 stars 86 forks source link

Update of cretueusebiu/valet-windows failed #204

Open mluqmanhkm opened 2 years ago

mluqmanhkm commented 2 years ago

Update of cretueusebiu/valet-windows failed

[RuntimeException]
Could not delete C:\Users\User\AppData\Roaming\Composer\vendor/cretueusebiu/valet-windows\bin\acrylic\AcrylicServic e.exe:
This can be due to an antivirus or the Windows Search Indexer locking the file while they are analyzed

AlisdairR32 commented 2 years ago

I had to close ArcylicService.exe and nginx.exe in Task Manager under Details tab to get the update to install.

The problem I have now is none of my .test domains work. I've noticed that nginx seems to have disappeared from my system.

UPDATE:

Ah, figured it out for version 2.5.1 -- (Running PHP 8.1.9 and Composer 2.4.1).

Make sure AcrylicService.exe, all instances of nginx.exe and nginxservice.exe are not running, then run the following commands:

composer global update valet stop valet install

This unfortunately reset my DNS settings back to using Google DNS but that was soon rectified. I also had to restart my VPN.

hellyanggara commented 2 years ago

I had to close ArcylicService.exe and nginx.exe in Task Manager under Details tab to get the update to install.

The problem I have now is none of my .test domains work. I've noticed that nginx seems to have disappeared from my system.

UPDATE:

Ah, figured it out for version 2.5.1 -- (Running PHP 8.1.9 and Composer 2.4.1).

Make sure AcrylicService.exe, all instances of nginx.exe and nginxservice.exe are not running, then run the following commands:

composer global update valet stop valet install

This unfortunately reset my DNS settings back to using Google DNS but that was soon rectified. I also had to restart my VPN.

encounter the same problem, following your guide, and my vallet work again.. thx you