vscode-code-runner: /bin/sh: ts-node: command not found
I have already install ts-node
.
I did not do any setting up.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (4 by maintainers)
I have already install ts-node
.
I did not do any setting up.
You need either put ts-node in your PATH environment variable, or set the path of ts-node in
File
->Preference
->Settings
:My solution is:
I think it’s better than the solution @formulahendry provided. You don’t need care about the path like this:
${whatever PATH}/node_modules/.bin/ts-node
. Because thePATH
often changes.npm install -g ts-node
Since Code Runner supports several languages and user is able to customize the path, we will not support this feature. You could udpate
executorMap
per your need.