Vscode-code-runner: /bin/sh: node: command not found

Created on 31 Aug 2018  路  2Comments  路  Source: formulahendry/vscode-code-runner

Every time I try to execute a node file, I will get an error.
image
But in my terminal:
image

I install node use nvm.

Most helpful comment

Please use below setting (File->Preference->Settings) to run code in Integrated Terminal:

{
    "code-runner.runInTerminal": true
}

All 2 comments

Please use below setting (File->Preference->Settings) to run code in Integrated Terminal:

{
    "code-runner.runInTerminal": true
}

why this one isn't the default setting?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manikantag picture manikantag  路  4Comments

N2ITN picture N2ITN  路  5Comments

Salil03 picture Salil03  路  5Comments

ranolfi picture ranolfi  路  3Comments

0x7FFFFFFFFFFFFFFF picture 0x7FFFFFFFFFFFFFFF  路  3Comments