Skip to content

rm command not recognized  #55

Open

Description

@Maghil

let me start with, is inkdrop compatible with windows? because why is it running rm command in windows

OS : windows 10
node: 20.14.0
npm: 10.8.1
inkdrop: 1.1.49

when I run inkdrop I'm getting the below error, debug didn't give out any more log

Diagram renderer running on localhost:3000
Computing terraform graph...
node:internal/errors:984
  const err = new Error(message);
              ^

Error: Command failed: rm -rf ./tmp-tf-cache-inkdrop
'rm' is not recognized as an internal or external command,
operable program or batch file.

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5) {    
  code: 1,
  killed: false,
  signal: null,
  cmd: 'rm -rf ./tmp-tf-cache-inkdrop',
  stdout: '',
  stderr: "'rm' is not recognized as an internal or external command,\r\n" +
    'operable program or batch file.\r\n'
}
Node.js v20.14.0

let me know if any more info is required

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions