-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Context:
- Playwright Version: [1.9.1]
- Operating System: [Windows]
- Node.js version: [v14.16.0]
- Browser: [e.g. All, Chromium, Firefox,]
Getting the following error
npm install -D playwright
[email protected] install \node_modules\playwright
node install.js
(node:23000) UnhandledPromiseRejectionWarning: Error: Failed to download chromium, caused by
Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
at \node_modules\playwright\lib\install\installer.js:133:19
at async validateCache (\node_modules\playwright\lib\install\installer.js:132:9)
at async installBrowsersWithProgressBar (\node_modules\playwright\lib\install\installer.js:82:9)
(Use node --trace-warnings ... to show where the warning was created)
(node:23000) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate 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:23000) [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.