Erro com o nose e typescript
Estou tentando rodar o typescript no node js, e dá erro ao escrever comando npx tsc --init.
npm error code ENOENT
npm error syscall spawn /bin/sh
npm error path C:\Users\user\Documents\estudos\teste
npm error errno -4058
npm error enoent spawn /bin/sh ENOENT
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error code ENOENT
npm error syscall spawn /bin/sh
npm error path C:\Users\user\Documents\estudos\teste
npm error errno -4058
npm error enoent spawn /bin/sh ENOENT
npm error enoent This is related to npm not being able to find a file.
npm error enoent

Giovana
Curtidas 1
Respostas

Srliath
15/02/2025
testa rodar
então na pasta em que estiver, rodar
npm install -g typescript
então na pasta em que estiver, rodar
tsc --init
GOSTEI 0