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

npm:playwright browser.launch crashes on Windows #27869

Open
fillwithjoy1 opened this issue Jan 30, 2025 · 1 comment
Open

npm:playwright browser.launch crashes on Windows #27869

fillwithjoy1 opened this issue Jan 30, 2025 · 1 comment
Labels
node compat windows Related to Windows platform

Comments

@fillwithjoy1
Copy link

fillwithjoy1 commented Jan 30, 2025

Version: Deno 2.1.7 b7456fe canary

The reason I upgraded to canary is to apply #27779 that fixes deno but I still encounter this error

My code

import {chromium} from "npm:playwright";
await chromium.launch();

Error

Additional stdio pipes beyond stdin/stdout/stderr are not currently supported on windows
error: Uncaught (in promise) TypeError: browserType.launch: Cannot read properties of undefined (reading 'on')

Call log:
  - <launching> C:\Users\admin\AppData\Local\ms-playwright\chromium_headless_shell-1155\chrome-win\headless_shell.exe --disable-field-trial-config --disable-background-networking -
-disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-com
ponent-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features
=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTrans
parencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-i
nput --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metr
ics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --un
safely-disable-devtools-self-xss-warnings --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=C:\Users\admin\AppData\Local\Temp\playwright_chromiumdev_profile-kB7VLn --remote-debugging-pipe --no-startup-window
  - <launched> pid=14144
@roseMix
Copy link

roseMix commented Feb 3, 2025

Same issue here using deno 2.1.9+b5c3f4f canary and Windows 11

@marvinhagemeister marvinhagemeister added windows Related to Windows platform node compat labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node compat windows Related to Windows platform
Projects
None yet
Development

No branches or pull requests

3 participants