Skip to content

[Bug]: Preview fails because Open CoDesign app bundle is missing the ms module #336

@mustafa-brainforge

Description

@mustafa-brainforge

Description

Preview fails before rendering App.jsx. The app reports a runtime dependency error from inside the Open CoDesign application bundle: Cannot find module 'ms'. This appears unrelated to the design source because the require stack points to /Applications/Open CoDesign.app/.../node_modules/debug/src/common.js.

Steps to reproduce

  1. Open Open CoDesign.
  2. Open the workspace/design.
  3. Click Preview for App.jsx.
  4. Observe that preview fails before rendering the design.

Expected behavior

App.jsx should render in the preview window, or source-level JSX/runtime errors should be shown if the design file has a problem.

Actual behavior

Preview executor fails with:

Cannot find module 'ms'
Require stack:

  • /Applications/Open CoDesign.app/Contents/Resources/app.asar/node_modules/debug/src/common.js

The design preview does not load.

open-codesign version

0.1.3

Platform

macOS

OS version

macOS 15.3.2

Model provider (if relevant)

OpenAI

Error code

No response

Diagnostics bundle

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting maintainer review

    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