Skip to content

Installation wizard for MacOS fails for latest version #18

@kunzaatko

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)

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