我正在 Windows 10 上开发一个 PHP 项目,并使用chrome-php在我的项目中启动无头 chrome。但是chrome没有启动。包裹似乎一切正常。所以我调试了这个过程,这是日志。谁能告诉我如何解决这个问题?
[2021-08-05 11:49:22] DEBUG process: initializing
[2021-08-05 11:49:22] DEBUG process: using directory: C:\Users\Devin\AppData\Local\Temp\chr5D4E.tmp
[2021-08-05 11:49:22] DEBUG process: starting process: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --remote-de-disable-background-networking --disable-background-timer-throttling --disable-client-side-phishing-detection --disable-default-xtensions --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --disable-translate --metric --no-first-run --safebrowsing-disable-auto-update --enable-automation --password-store=basic --use-mock-keychain --headless --dt-render-hinting=none --hide-scrollbars --mute-audio --blink-settings=imagesEnabled=false --window-size=1920,780 "--user-agent=Matible, MSIE 11, Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko" --user-data-dir=C:\Users\Devin\AppData\Local\Temp\chr5D4E.tmp
[2021-08-05 11:49:22] DEBUG process: waiting for 30 seconds for startup
[2021-08-05 11:49:22] DEBUG process: chrome output:[0805/171922.632:ERROR:registration_protocol_win.cc(63)] BuildSecurityDescriped network provider name is invalid. (0x4B4)
[2021-08-05 11:49:22] DEBUG process: ignoring output:[0805/171922.632:ERROR:registration_protocol_win.cc(63)] BuildSecurityDescrfied network provider name is invalid. (0x4B4)
[2021-08-05 11:49:22] DEBUG process: chrome output:[0805/171922.701:ERROR:network_change_notifier_win.cc(228)] WSALookupServiceB: 0
[2021-08-05 11:49:22] DEBUG process: ignoring output:[0805/171922.701:ERROR:network_change_notifier_win.cc(228)] WSALookupServicth: 0
[2021-08-05 11:49:22] DEBUG process: chrome output:[0805/171922.713:ERROR:core_audio_util_win.cc(427)] Failed to create Core Audator on thread with ID 10676
[2021-08-05 11:49:22] DEBUG process: ignoring output:[0805/171922.713:ERROR:core_audio_util_win.cc(427)] Failed to create Core Aerator on thread with ID 10676
[2021-08-05 11:49:22] DEBUG process: chrome output:[0805/171922.761:ERROR:tcp_socket_win.cc(290)] CreatePlatformSocket() returne
requested service provider could not be loaded or initialized. (0x277A)
[2021-08-05 11:49:22] DEBUG process: ignoring output:[0805/171922.761:ERROR:tcp_socket_win.LEDcc(290)] CreatePlatformSocket() returned an error: The requested service provider could note requested service provider could no be loaded or initialized. (0x277A)
[2021-08-05 11:49:22] DEBUG process: ignoring output:[0805/171922.761:WARNING:net_errors_wicc(290)] CreatePlatformSocket() return.cc(119)] Unknown error 10106 mapped to net::ERR_FAILED
[2021-08-05 11:49:22] DEBUG process: ignoring output:[0805/171922.761:ERROR:tcp_socket_win.n.cc(119)] Unknown error 10106 mappedcc(290)] CreatePlatformSocket() returned an error: The requested service provider could not be loaded or initialized. (0x277A) cc(290)] CreatePlatformSocket() retur
[2021-08-05 11:49:22] DEBUG process: chrome output:[0805/171922.838:WARNING:net_errors_win.cc(119)] Unknown error 10106 mapped to net::ERR_FAILED cc(119)] Unknown error 10106 mapped t
[0805/171922.838:ERROR:devtools_http_handler.cc(298)] Cannot start http server for devtools. .
[2021-08-05 11:49:22] DEBUG process: ignoring output:[0805/171922.838:WARNING:net_errors_win.cc(119)] Unknown error 10106 mappedn.cc(119)] Unknown error 10106 mapped to net::ERR_FAILED
[2021-08-05 11:49:22] DEBUG process: ignoring output:[0805/171922.838:ERROR:devtools_http_handler.cc(298)] Cannot start http serandler.cc(298)] Cannot start http server for devtools.
[2021-08-05 11:49:53] DEBUG process: killing chrome
[2021-08-05 11:49:53] DEBUG process: stopping process
[2021-08-05 11:49:54] DEBUG process: process stopped with exit code 1
[2021-08-05 11:49:54] DEBUG process: cleaning temporary resources:C:\Users\Devin\AppData\Local\Temp\chr5D4E.tmp