Skip to content

ERROR OVERLAY_SELECTED_COLOR5 is not defined #710

Description

@hdsheena

Summary

✻ Thought for 1 second [ctrl+o to expand]

⠶ Files staged. Now I'll commit with the co-author trailer.

ERROR OVERLAY_SELECTED_COLOR5 is not defined

file:///opt/homebrew/lib/node_modules/command-code/dist/cli.mjs:16:22426

  • ShellPermissionPrompt (file:///opt/homebrew/lib/node_modules/command-code/dist/cli.mjs:16:22426)

  • renderWithHooks (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:2655:23)

  • updateFunctionComponent (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:4426:17)

  • beginWork (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:5422:16)

  • performUnitOfWork (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:9435:16)

  • workLoopSync (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:9310:39)

  • renderRootSync (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:9291:9)

  • performWorkOnRoot (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:8864:42)
    -performWorkOnRootViaSchedulerTask
    (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:1283:5)

  • Immediate.performWorkUntilDeadline (/opt/homebrew/lib/node_modules/command-code/node_modules/scheduler/cjs/scheduler.production.js:151:44)

✖ CRITICAL: Unhandled Promise Rejection!
This is an unexpected error. Please file a bug report at https://github.com/CommandCodeAI/command-code/issues/new
✖ ERROR → ReferenceError
ℹ REASON → OVERLAY_SELECTED_COLOR5 is not defined
ℹ ERROR STACK ↓
ReferenceError: OVERLAY_SELECTED_COLOR5 is not defined
at ShellPermissionPrompt (file:///opt/homebrew/lib/node_modules/command-code/dist/cli.mjs:16:22426)
at renderWithHooks (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:2655:23)
at updateFunctionComponent (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:4426:17)
at beginWork (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:5422:16)
at performUnitOfWork (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:9435:16)
at workLoopSync (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:9310:39)
at renderRootSync (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:9291:9)
at performWorkOnRoot (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:8864:42)
at performWorkOnRootViaSchedulerTask (/opt/homebrew/lib/node_modules/command-code/node_modules/react-reconciler/cjs/react-reconciler.production.js:1283:5)
at Immediate.performWorkUntilDeadline [as _onImmediate] (/opt/homebrew/lib/node_modules/command-code/node_modules/scheduler/cjs/scheduler.production.js:151:44)

ℹ Trace ID: 6685aae505dca2447738566f06772139
Share this ID with support to help debug your issue.

Expected Behavior

It told me to file a bug.. I guess I expected it to not crash adn tell me to file a bug? :)

Actual Behavior

The message above

Steps to reproduce the issue

No idea. I use it all the time, and it's never done this!

Command Code Version

Updated 1.28.2 → 1.28.3 (so i guess .2 for the error)

Operating System

macOS

Terminal/IDE

Orca

Shell

... zsh I think?

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions