deershare icon indicating copy to clipboard operation
deershare copied to clipboard

提示谷歌浏览器未安装,但是实际已安装

Open Newtxin opened this issue 3 years ago • 3 comments

[14:45:58] [nodemon] starting node src/index.js Listening on port 3001 Starting prerender 2021-04-07T06:45:59.951Z Starting Prerender 2021-04-07T06:45:59.951Z Starting Chrome 2021-04-07T06:45:59.952Z unable to find Chrome install. Please specify with chromeLocation 2021-04-07T06:45:59.953Z Prerender server accepting requests on port 3999 2021-04-07T06:45:59.953Z undefined 2021-04-07T06:45:59.954Z Failed to start and/or connect to Chrome. Please make sure Chrome is running 2021-04-07T06:45:59.954Z Stopping Chrome [14:45:59] [nodemon] clean exit - waiting for changes before restart

Newtxin avatar Apr 07 '21 06:04 Newtxin

@Newtxin Chrome是单独安装的还是和puppeteer一起安装上的?请把node_modules清空然后重新安装一下,看看安装puppeteer的时候有没有提示错误。可能是网络问题导致puppetter带的chrome安装失败导致的

fanchangyong avatar Apr 15 '21 08:04 fanchangyong

我也出现这个问题,清空node_modules重装也是提示未找到,请问你解决了吗

sl1n avatar Mar 17 '22 04:03 sl1n

直接禁用chrome,似乎是可用的,在server/config/base.js里,把那个true改成false,让他别用chrome了,掩耳盗铃~

zephms avatar Apr 19 '22 12:04 zephms