Skip to content

Windows: npx / dragging text file doesnt work / opening editor doesnt work #28

@lightningRalf

Description

@lightningRalf

Hello,
tried the following:
drag and drop text file:
image

file does not get recognized.
After installing Vim, and select vim, I get prompted:
image

I get the following error:

node:events:496
      throw er; // Unhandled 'error' event
      ^

Error: spawn vim ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn vim',
  path: 'vim',
  spawnargs: [ 'C:\\Users\\mjpa\\AppData\\Local\\Temp\\tmp-5732CcCCpU3Cl5f3.txt' ]
}

Node.js v20.12.1

Any help would be appreshiated.
I am tringing to add openai provider. But I need to get it to run first ;)

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