Skip to content

c/c++ server unable to start showing spawn unknown system error-86 on m1 MacBook  #7286

@Aq-shay

Description

@Aq-shay

Type: LanguageService

Describe the bug

  • OS and Version: macOS Big Sur 11.2.3
  • VS Code Version:1.55(global)
  • C/C++ Extension Version:1.2.2
  • Other extensions you installed (and if the issue persists after disabling them):none
  • Does this issue involve using SSH remote to run the extension on a remote machine?:
  • A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).

Steps to reproduce

I install vscode universal for first time my M1 Macbook air for c/c++

and then install c/c++ extension by Microsoft . As soon I name gave name to file (for example "hello.cpp") or write edit configuration in command palette and the press enter
output shows

[Error - 10:26:19 AM] Starting client failed

Error: spawn Unknown system error -86

at ChildProcess.spawn (internal/child_process.js:407:11)
at Object.spawn (child_process.js:557:9)
at /Users/akshay/.vscode/extensions/ms-vscode.cpptools-1.2.2/dist/main.js:15519:40

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Logs
Insert logs here.

Screenshots

when I name file and press enter

when I open command palette and write edit configuration and press enter

Screenshot 2021-04-03 at 8 53 04 AM

Additional context

please help me to resolve this as I didn't know much about .js file and new to vscode

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions