Error al ejecutar php artisan native serve #646
Unanswered
jorgeteiler
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Electron API server started on port 4000
Error: Command failed: C:\xampp\htdocs\minimercado\vendor\nativephp\electron\resources\js\resources\php\php.exe artisan native:config
[NATIVE_EXCEPTION]: cURL error 7: Failed to connect to localhost port 4000 after 2239 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:4000/api/debug/log (0) in C:\xampp\htdocs\minimercado\vendor\laravel\framework\src\Illuminate\Http\Client\PendingRequest.php:941
[NATIVE_EXCEPTION]: cURL error 7: Failed to connect to localhost port 4000 after 2237 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:4000/api/debug/log (0) in C:\xampp\htdocs\minimercado\vendor\laravel\framework\src\Illuminate\Http\Client\PendingRequest.php:941
code: 1,
killed: false,
signal: null,
cmd: 'C:\xampp\htdocs\minimercado\vendor\nativephp\electron\resources\js\resources\php\php.exe artisan native:config',
stdout: '\r\n' +
' Illuminate\Http\Client\ConnectionException \r\n' +
'\r\n' +
' cURL error 7: Failed to connect to localhost port 4000 after 2237 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:4000/api/debug/log\r\n' +
'\r\n' +
' at vendor\laravel\framework\src\Illuminate\Http\Client\PendingRequest.php:941\r\n' +
' 937▕ }\r\n' +
' 938▕ }\r\n' +
' 939▕ });\r\n' +
' 940▕ } catch (ConnectException $e) {\r\n' +
' ➜ 941▕ $exception = new ConnectionException($e->getMessage(), 0, $e);\r\n' +
' 942▕ $request = new Request($e->getRequest());\r\n' +
' 943▕ \r\n' +
' 944▕ $this->factory?->recordRequestResponsePair($request, null);\r\n' +
' 945▕\r\n' +
'\r\n' +
' 1 vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:275\r\n' +
' GuzzleHttp\Exception\ConnectException::("cURL error 7: Failed to connect to localhost port 4000 after 2237 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:4000/api/debug/log")\r\n' +
'\r\n' +
' 2 vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:205\r\n' +
' GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle))\r\n' +
'\r\n',
stderr: '[NATIVE_EXCEPTION]: cURL error 7: Failed to connect to localhost port 4000 after 2239 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:4000/api/debug/log (0) in C:\xampp\htdocs\minimercado\vendor\laravel\framework\src\Illuminate\Http\Client\PendingRequest.php:941\n' +
'[NATIVE_EXCEPTION]: cURL error 7: Failed to connect to localhost port 4000 after 2237 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:4000/api/debug/log (0) in C:\xampp\htdocs\minimercado\vendor\laravel\framework\src\Illuminate\Http\Client\PendingRequest.php:941\n'
}
Starting PHP server... C:\xampp\htdocs\minimercado\vendor\nativephp\electron\resources\js\resources\php\php.exe artisan serve C:\xampp\htdocs\minimercado []
Copying storage folder...
Storage path: C:\Users\Jorge\AppData\Roaming\laravel-dev\storage
App path: C:\xampp\htdocs\minimercado
Making sure app folders are available
Linking storage path...
Calling PHP C:\xampp\htdocs\minimercado\vendor\nativephp\electron\resources\js\resources\php\php.exe [
'-d',
'openssl.cafile=C:\xampp\htdocs\minimercado\vendor\nativephp\electron\resources\js\resources\cacert.pem',
'-d',
'curl.cainfo=C:\xampp\htdocs\minimercado\vendor\nativephp\electron\resources\js\resources\cacert.pem',
'-d',
'memory_limit=512M',
'artisan',
'storage:link',
'--force'
]
Beta Was this translation helpful? Give feedback.
All reactions