Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Bug: Can't develop under windows #33

Description

@dbartholomae

Description

The project isn't setup for Windows, mainly due to the glob library not being able to handle \ as separator. Therefore, paths need to be normalized before passing them in. E.g. it doesn't sync any built js files as glob doesn't find them due to the \s in distDir:
https://github.com/fnando/streamdeck/blob/main/src/cli/bundle.ts#L231

I'm happy to contribute fixes to this, as I'm devloping on Windows, but wanted to check first whether these would be well received and whether the project is maintained so that there is time to review, merge and release the fixes.

How to reproduce

Run streamdeck link under Windows.

What do you expect

It shoud work.

What happened instead

Error: ENOENT: no such file or directory, rename 'D:\repos\stream-deck-plugin-google-calendar\build\dev.net.startup-cto.calendar-manager.sdPlugin/run.js' -> 'D:\repos\stream-deck-plugin-google-calendar\build\dev.net.startup-cto.calendar-manager.sdPlugin/plugin.js'

Full backtrace

Error: ENOENT: no such file or directory, rename 'D:\repos\stream-deck-plugin-google-calendar\build\dev.net.startup-cto.calendar-manager.sdPlugin/run.js' -> 'D:\repos\stream-deck-plugin-google-calendar\build\dev.net.startup-cto.calendar-manager.sdPlugin/plugin.js'      
    at Object.renameSync (node:fs:980:3)
    at D:\repos\stream-deck-plugin-google-calendar\node_modules\@fnando\streamdeck\dist\cli\bundle.js:178:22
    at Generator.next (<anonymous>)
    at fulfilled (D:\repos\stream-deck-plugin-google-calendar\node_modules\@fnando\streamdeck\dist\cli\bundle.js:5:58)

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions