dps start启动失败
xvbo opened this issue · 1 comments
xvbo commented
- (node:3076) UnhandledPromiseRejectionWarning: Error: Could not find browser revision 782078. Run "PUPPETEER_PRODUCT=fi
refox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary.
at ChromeLauncher.launch (D:\vueProject\nodejs\node_global\node_modules\puppeteer\lib\cjs\puppeteer\node\Launcher.js
:86:23)
at async pp (D:\vueProject\nodejs\node_global\node_modules\draw-page-structure\src\pp.js:11:19)
at async DrawPageStructure.start (D:\vueProject\nodejs\node_global\node_modules\draw-page-structure\src\index.js:121
:16)
(node:3076) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing insi
de of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To termina
te the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs
.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3076) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections
that are not handled will terminate the Node.js process with a non-zero exit code.
| 启动浏览器...
xvbo commented
npm install -g puppeteer@4.0.1 问题解决。。。