typescript vscode /bin/sh: ts-node: command not found

Scenario: Typescript is running in vscode and gives an error: / bin / sh: ts-node: command not found

Need to install ts-node

npm install -g ts-node

 

Guess you like

Origin www.cnblogs.com/kpengfang/p/typescript.html