cretueusebiu / valet-windows

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

no config.json #167

Closed niels-vormenvorm closed 3 years ago

niels-vormenvorm commented 3 years ago

Hello, It seems lik my valet all of a sudden stopt working. I tried to reinstall valet for windows but now, when I run the valet install command, I get the following error.

the file config.json is missing..

The PHP version : 7.3.7 Composer version 2.0.12

PHP Warning: file_get_contents(../niels/.config/valet\config.json): failed to open stream: No such file or directory in ..\niels\AppData\Roaming\Composer\vendor\cretueusebiu\valet-windows\cli\Valet\Filesystem.php on line 110 PHP Fatal error: Uncaught TypeError: Return value of Valet\Configuration::read() must be of the type array, null returned in ..\niels\AppData\Roaming\Composer\vendor\cretueusebiu\valet-windows\cli\Valet\Configuration.php:254 Stack trace:

0 ..\niels\AppData\Roaming\Composer\vendor\cretueusebiu\valet-windows\cli\includes\facades.php(28): Valet\Configuration->read()

1 ..\niels\AppData\Roaming\Composer\vendor\cretueusebiu\valet-windows\cli\valet.php(65): Facade::__callStatic('read', Array)

2 ..\niels\AppData\Roaming\Composer\vendor\cretueusebiu\valet-windows\valet(8): require('C:\Users\niels\...')

3 {main}

thrown in ..\niels\AppData\Roaming\Composer\vendor\cretueusebiu\valet-windows\cli\Valet\Configuration.php on line 254

thank you for your time