Skip to content

VSCode Extension: 'Setup' fails with macOS 15 - fix included #34

@twischi

Description

@twischi

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I am working on macOS 15 and the VS Code Extension.
Expedition this that 'Setup' runs without failing.

Actual behavior (suspected bug)

I am working on macOS 15 and the VS Code Extension. The Extension permanently fails with 'Setup'.

Terminal shows this root cause error message:
Error: $HOME must be set to run brew.

Some research (googling) show's that this a common error with macOS 15. A problem with the HOME-Variable.

I investigated the main script 'extension.js' and fixed it for macOS 15: HOME is set manually.

See attached the fixed 'extension.js'. With code-compare you can find the minimal changes and might fix it.

Regards Thomas

Fixed file:
extension.js

Error logs or terminal output

Error: $HOME must be set to run brew.

Steps to reproduce the behavior

See actual behavior section

Project release version

normal version

System architecture

ARM 64-bit (Apple M1/M2, Raspberry Pi 4/5)

Operating system

MacOS

Operating system version

macOS 15

Shell

Bash

Additional context

macOS 15.7.3 at MacBook Air, M3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions