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

Error: spawn Unknown system error -86 #2333

Closed
1 task done
ialexsilva opened this issue Jul 5, 2023 · 2 comments
Closed
1 task done

Error: spawn Unknown system error -86 #2333

ialexsilva opened this issue Jul 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ialexsilva
Copy link

ialexsilva commented Jul 5, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I am getting the following error when trying to run npm run start

node:internal/errors:490
    ErrorCaptureStackTrace(err);
    ^

Error: spawn Unknown system error -86
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at Object.spawn (node:child_process:757:9)
    at BrowserRunner.start (/Users/alex/Documents/Development/wa-ia/node_modules/whatsapp-web.js/node_modules/puppeteer/src/node/BrowserRunner.ts:89:30)
    at ChromeLauncher.launch (/Users/alex/Documents/Development/wa-ia/node_modules/whatsapp-web.js/node_modules/puppeteer/src/node/Launcher.ts:162:12)
    at PuppeteerNode.launch (/Users/alex/Documents/Development/wa-ia/node_modules/whatsapp-web.js/node_modules/puppeteer/src/node/Puppeteer.ts:155:27)
    at Client.initialize (/Users/alex/Documents/Development/wa-ia/node_modules/whatsapp-web.js/src/Client.js:106:39) {
  errno: -86,
  code: 'Unknown system error -86',
  syscall: 'spawn'
}

Expected behavior

Run with out errors

Steps to Reproduce the Bug or Issue

N/A

Relevant Code

No response

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Node: 18.16.1
OS: Mac OS Ventura
whatsapp-web.js: 1.21.0

Additional context

Apparently, updating the pupperteer to the latest version fixes this issue

@gulabsagevadiya
Copy link

thanks bro. you saved me. i got same problem and also worked your solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@ialexsilva @gulabsagevadiya @alechkos and others