NodeInvocationException:尝试连接到节点超时 [英] NodeInvocationException: Attempt to connect to Node timed out
问题描述
我在工作笔记本电脑的Visual Studio 2017中创建了一个新的Angular项目,运行该程序时出现节点调用异常错误. 我的家用笔记本电脑也有同样的问题,但是在安装了最新版本的node.js之后,该问题已得到解决. 我在工作笔记本电脑中安装了相同的nodejs版本,但问题仍然存在.当我在工作笔记本电脑中运行node-v命令而不是版本号时,我得到了另一个名称.
I have created a new angular project in Visual Studio 2017 in my work laptop, I'm getting the Node invocation exception error when I run the program. I had the same issue in my home laptop but it was resolved after I installed the latest version of node.js. I have installed the same nodejs version in my work laptop but the issue still persists. when I run the node - v command in my work laptop instead of the version number I'm getting a different name.
有人可以帮忙吗?
异常消息 推荐答案
我发现我的办公室笔记本电脑中安装了CA节点,因此它显示了2个节点.我更新了环境变量路径以预先列出node.js,因此它具有优先权,此问题现已解决. I found that we have CA node installed in my office laptop so it was showing 2 nodes. I updated the environment variable path to list the node.js in up front so it takes the priority, this issue has been resolved now. 这篇关于NodeInvocationException:尝试连接到节点超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!