dps icon indicating copy to clipboard operation
dps copied to clipboard

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

Open LeeDebug opened this issue 4 years ago • 3 comments

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

LeeDebug avatar Oct 26 '21 07:10 LeeDebug

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

请问现在搞定了吗

tom-hanks avatar Oct 28 '21 01:10 tom-hanks

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

比如现在搞定

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

LeeDebug avatar Oct 28 '21 01:10 LeeDebug

运行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

yangxialei avatar Feb 16 '22 01:02 yangxialei