Skip to content

[BUG] Running surface integration package from development folder not working #3930

@dnmeid

Description

@dnmeid

Make sure you're on the latest stable or beta build

  • I have tested this on the latest stable or beta release

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion and not a specific module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I try to run a surface module from the development folder.
Using Companion v4.3.0+8937main-6ac3c16e89 on Windows 11.
I cloned the module, then yarn, then yarn package. I put the pkg folder from the tgz into the development folder.
Companion detects the dev module and I can switch in the surface integrations page to "dev" but the module doesn't start.

Log says: that the module @companion-surface/base/dist can't be found. (btw: this only shows up in the regular Companion log, not in the surface's debug log page).

When I manually add the node_modules folder with the according module to the module folder, the surface module starts and is working.
So I guess it is a packaging problem.

Steps To Reproduce

No response

Expected Behavior

Surface module packages should be able to run from a package with everything needed included in the package.

Environment (please complete the following information)

- OS:
- Browser:
- Companion Version:

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't workingarea/surfaceSomething to do with a control surface (eg Streamdeck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions