SSL Issue When Installing Playwright

From Logic Wiki
Revision as of 17:09, 21 March 2025 by AliIybar (Talk | contribs) (Created page with "Category:Playwright if you see this error code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' try this SET NODE_TLS_REJECT_UNAUTHORIZED = 0 npm config set strict-ssl=false...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


if you see this error

  code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'

try this

SET NODE_TLS_REJECT_UNAUTHORIZED = 0
npm config set strict-ssl=false

npx playwright install

SET NODE_TLS_REJECT_UNAUTHORIZED = 1
npm config set strict-ssl=true

In Workplace if there is a problem with login check VPN