Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Newtxin opened this issue Apr 7, 2021 · 3 comments
Open

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

Newtxin opened this issue Apr 7, 2021 · 3 comments

Comments

@Newtxin
Copy link

Newtxin commented Apr 7, 2021

[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

@fanchangyong
Copy link
Owner

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

@sl1n
Copy link

sl1n commented Mar 17, 2022

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

@zephms
Copy link

zephms commented Apr 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants