Bartmr/convert-js-to-ts

node_modules/..bin/tsc is not recognized as an internal command

amapic opened this issue · 0 comments

Hi,
Thanks for this package. I have a bug with the first 'node_modules/...' command.

It is an "is not recognized as an internal command" error.

Error: Command failed: node_modules/.bin/tsc --allowJS --checkJS false --showConfig
'node_modules' n'est pas reconnu en tant que commande interne
ou externe, un programme ex�cutable ou un fichier de commandes.

    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:514:28)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1091:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'node_modules/.bin/tsc --allowJS --checkJS false --showConfig',
  stdout: '',
  stderr: "'node_modules' n'est pas reconnu en tant que commande interne\r\n" +
    'ou externe, un programme ex�cutable ou un fichier de commandes.\r\n'
}

Do you know what is the problem ? Thanks