Closed JoShMiQueL closed 2 weeks ago
i also got this error. is there any advice?
Kind of same (?), I get a different error:
$ bun screenshots/screenshots.js
111 | env: options.env,
112 | cwd: options.cwd,
113 | shell: options.shell,
114 | stdio
115 | };
116 | const spawnedProcess = childProcess.spawn(options.command, options.args || [], spawnOptions);
^
ENOENT: Failed to connect
errno: 2
syscall: "connect"
at connect (node:net:302:10)
at new (node:net:16:31)
at #getBunSpawnIo (node:child_process:630:17)
at #createStdioObject (node:child_process:687:21)
at node:child_process:721:12
at spawn (node:child_process:724:8)
at node:child_process:2:21
at C:\Github\<project>\node_modules\playwright-core\lib\utils\processLauncher.js:116:39
at launchProcess (C:\Github\<project>\node_modules\playwright-core\lib\utils\processLauncher.js:103:30)
at C:\Github\<project>\node_modules\playwright-core\lib\server\browserType.js:179:36
Bun v1.1.15 (Windows x64 baseline)
error: script "screenshots" exited with code 1
What version of Bun is running?
1.1.6+e58d67b46
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
Create a script that open and closes the browser.
Run it with
bun start
What is the expected behavior?
Open and close the browser with normally
What do you see instead?
Additional information