Skip to content

Bug: link doesn't work on windows #5

@OmgImAlexis

Description

@OmgImAlexis

Description

Running link on windows doesn't work.

How to reproduce

  1. Use Windows
  2. Run npx @fnando/streamdeck link

What do you expect

The command to work.

What happened instead

❯  npx @fnando/streamdeck link
cli.js link

Link the dist directory to Stream Deck's plugin directory.

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]
  --force    Replace installed extension, if any.                      [boolean]

Error: ENOENT: no such file or directory, symlink 'C:\Users\xo\code\OmgImAlexis\unraid-release-tracker\build\dev.me.wvvw.unraid-release-tracker.sdPlugin' -> 'C:\Users\xo\Library\Application Support\com.elgato.StreamDeck\Plugins\dev.me.wvvw.unraid-release-tracker.sdPlugin'
    at Object.symlinkSync (node:fs:1655:3)
    at C:\Users\xo\code\OmgImAlexis\unraid-release-tracker\node_modules\@fnando\streamdeck\dist\cli\linking.js:48:22
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\xo\code\OmgImAlexis\unraid-release-tracker\node_modules\@fnando\streamdeck\dist\cli\linking.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  errno: -4058,
  syscall: 'symlink',
  code: 'ENOENT',
  path: 'C:\\Users\\xo\\code\\OmgImAlexis\\unraid-release-tracker\\build\\dev.me.wvvw.unraid-release-tracker.sdPlugin',
  dest: 'C:\\Users\\xo\\Library\\Application Support\\com.elgato.StreamDeck\\Plugins\\dev.me.wvvw.unraid-release-tracker.sdPlugin'
}

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