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

克隆项目后,dps start 运行不起来 #36

Open
LeeDebug opened this issue Oct 26, 2021 · 3 comments
Open

克隆项目后,dps start 运行不起来 #36

LeeDebug opened this issue Oct 26, 2021 · 3 comments

Comments

@LeeDebug
Copy link

全局安装 draw-page-structure 后,以 baidu.com 为例,运行 dps start,卡在“启动浏览器...”处就不动了

@tom-hanks
Copy link

全局安装 draw-page-structure 后,以 baidu.com 为例,运行 dps start,卡在“启动浏览器...”处就不动了

请问现在搞定了吗

@LeeDebug
Copy link
Author

安装draw-page-structure后,以baidu.com为例,运行dps start,卡在“启动浏览器...”处就不动了

比如现在搞定

现在一直没搞定,而且 dps start 的时候会提示一些 Promise 或 catch 的错误,请尝试i一下

@yangxialei
Copy link

运行dps start 时报错 UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
修改安装的puppeteer组件,puppeteer/lib/cjs/puppeteer/node/BrowserFetcher.js。
在BrowserFetcher.js里revisionInfo函数debugFetcher之前修改谷歌浏览器访问路径就可以了
executablePath = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe' (本机的谷歌浏览器访问路径)
image

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

3 participants