CH3OH_ 2020-06-24 14:13 采纳率: 66.7%
浏览 229
已采纳

visual studio2019 docker debug报错Ensure that Node.js is installed and can be found in one of the PATH directories.

图片说明

错误详情如下:

[1] Ensure that Node.js is installed and can be found in one of the PATH directories.
    Current PATH enviroment variable is: C:\Windows\system32;C:\Windows;;C:\Program Files\dotnet
    Make sure the Node executable is in one of those directories, or update your PATH.

[2] See the InnerException for further details of the cause.)”

我的nodejs 装在D:\Program Files\nodejs
计算机环境变量设置如下:

图片说明

图片说明

也重启过计算机了。

图片说明

版本号也有了 ,个人认为可能是vs读的环境变量与我设置的有误差,那么我该如何修改呢?请各位大神帮帮忙!

  • 写回答

1条回答 默认 最新

  • 关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?