Skip to content

[BUG] Error loading "sharp" module on macOS 12.7.6 Intel build #177

@aayushkrm

Description

@aayushkrm

Describe the bug
When launching the Glass instant launch DMG build app on an Intel-based MacBook running macOS 12.7.6 Monterey, the following error occurs on startup:

Javascript error occurred in the main process
Uncaught Exception:
Error: Could not load the "sharp" module using the darwin-x64 runtime

To Reproduce
Steps to reproduce the behavior:

  1. Download the Glass DMG build.
  2. Open the app on macOS 12.7.6 Monterey (Intel-based MacBook).
  3. Observe the error immediately on launch.

Expected behavior
The application should launch successfully without module errors and load all dependencies correctly for macOS Intel builds.

Screenshots
N/A

Environment (please complete the following information):

  • OS: macOS 12.7.6 Monterey (Intel-based MacBook)
  • App Version: Glass instant launch DMG build (latest)

Additional context
Error message suggests issues with the "sharp" module packaging or compatibility for darwin-x64. Possible solutions mentioned in error:

Full error trace:

Uncaught Exception:
Error: Could not load the "sharp" module using the darwin-x64 runtime
... (see original message for full stack trace)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions