New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get error on running ts-node
on TypeScript files
#353
Comments
Did you try closing all VS Code, and start VS Code and then try again? |
Tried that. Same error:
|
Please use below setting ( {
"code-runner.runInTerminal": true
} |
I think the issue is that the code runner executes command in root folder! If your package/project (including tsconfig) is a sub folder you will run into this issue. |
Below is the error:
I have both ts-node and typescript installed globally with
npm i -g
.I can run the above file in my shell but not with Code Runner:
The text was updated successfully, but these errors were encountered: