Skip to content

Installation wizard for MacOS fails for latest version #18

Closed

Description

@kunzaatko

Short description

When running the installation wizard there is a nonexistent type imported and the installation fails.

What happened?

The error:

 $ curl -fsSL https://raw.githubusercontent.com/cortexkit/opencode-magic-context/master/scripts/install.sh | bash

  ✨ Magic Context — Setup
  ────────────────────────

  → Using bun

file:///private/var/folders/yv/24zcyrzn0tsdg78xckk5mx0c0000gp/T/bunx-502-@cortexkit/opencode-magic-context@latest/node_modules/@cortexkit/opencode-magic-context/dist/cli.js:8893
import { styleText as D } from "node:util";
         ^^^^^^^^^
SyntaxError: The requested module 'node:util' does not provide an export named 'styleText'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)

Node.js v19.9.0

Same as in AFT plugin: cortexkit/aft#10
May be related to #17

Platform

macOS arm64

Client

OpenCode TUI (CLI)

Activity

  1. ualtinok commented on Apr 15, 2026

    @ualtinok
    Contributor

    It's because you have node.js v19 and we don't have control to check >=20 which we require for the cli. Will make a release soon to fix. (also you already have bun but the cli is defaulting to node due to shebang, which will be fixed also)

  2. kunzaatko commented on Apr 15, 2026

    @kunzaatko
    Author

    Jup, later versions of Node work. Confirmed! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions