inkdrop-org / inkdrop-visualizer

Visualizes your Terraform
https://inkdrop.ai/
Mozilla Public License 2.0
442 stars 16 forks source link

rm command not recognized #55

Open Maghil opened 3 weeks ago

Maghil commented 3 weeks ago

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