嗨,我使用laravel 7,并使用wamp服务器和Windows 10作为操作系统 我已经使用
成功地将laravel黄昏添加到了项目中composer require --dev laravel/dusk
然后我尝试通过运行以下命令来安装黄昏脚手架和chrome驱动程序
php artisan dusk:install
那我的成绩不如人意
Dusk scaffolding installed successfully.
Downloading ChromeDriver binaries...
ErrorException
file_get_contents(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.
答案 0 :(得分:0)
问题是我来自伊朗,而伊朗处于被暂停的国家,通过使用VPN,这个问题为我解决了