明明有安装好node
vscode启动rtail时报:cannot find runtime 'node' in path(运行时找不到node的路径)
可是vscode找不到。网上说重启,我重启了n遍依旧不行。

解决方案:
1、在 termial用which node 命令
vscode启动rtail时报:cannot find runtime 'node' in path(运行时找不到node的路径)

2、然后再vscode中查看lauch.json文件,看有没有这个runtimeExecutable这个设置
没有的话加上去就可以了。
vscode启动rtail时报:cannot find runtime 'node' in path(运行时找不到node的路径)

这个bug卡了我一天啊,我的天。真是。

注意:笔者在windows、mac OS都没有遇到这个问题,只有linux需要加runtimeExecutable设置

相关文章:

  • 2022-02-21
  • 2021-12-06
  • 2022-12-23
  • 2021-10-18
  • 2021-09-07
  • 2021-11-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2022-02-13
  • 2021-12-02
相关资源
相似解决方案