Typescript vscode terminal error command not found: TS node solution

When writing TS files, you don’t need to run TSC to convert them into JS files, and then run node , you can run them directly with TS node commands, but you need to install TS node before running. The installation method is as follows:

npm install -g ts-node

Similar Posts: