Cannot find runtime 'node' on PATH - Visual Studio Code and Node.js

后端 未结 18 2295
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-07 23:54

With a downloaded and installed version of Visual Studio Code 1.2.1, and a 64bit version of node.exe msi placed in my working directory (I am assuming that is correct), how

18条回答
  •  轮回少年
    2020-12-08 00:52

    Had the same issue and in my case it was a problem with a vs code extension. Try running code as:

    $ code --disable-extensions
    

    Once in the editor, I ran my program in the debug mode and worked, and then started code with

    $ code
    

    And it continued working fine.

    Hope it works for you.

提交回复
热议问题