错误:进程“node.exe"未找到 [英] ERROR: The process "node.exe" not found

查看:65
本文介绍了错误:进程“node.exe"未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

完整的错误是

ERROR: The process "node.exe" not found.
The filename, directory name, or volume label syntax is incorrect.
[Finished in 0.3s with exit code 1]

我正在使用 Sublime text 2,并安装了 NodeJS 插件,我尝试运行一个简单的脚本,它使用 alt+r 运行良好,但是当我保存它 (ctrl+s) 时,它给了我.知道如何解决这个问题吗?

I am using Sublime text 2, and installed the NodeJS plugin, I tried to run a simple script, it runs fine with alt+r, but when I saved it (ctrl+s) it gave me that. Any idea on how to fix this?

推荐答案

听起来您的 Windows 机器上还没有安装 Node?如果您已经安装了它,您可以在系统设置中检查您的 PATH 变量以确保 NODE_PATH 设置为您的节点安装位置.

Sounds like you don't have Node installed yet on your Windows machine? If you've already installed it, you can check your PATH variable in System Settings to make sure NODE_PATH is set to the location of your Node install.

抱歉,有一段时间没有在 Windows 上使用 node -- travis 是对的,nodejs.org 是安装的最佳位置

sorry about that, haven't used node on windows in a while -- travis is right, nodejs.org is best place for install

Node.js 下载页面

如果 nodejs 插件需要 32 位或 64 位版本的 Node,也可能值得检查,因为它们将安装在不同的位置.

Also might be worth checking if nodejs plugin requires 32 or 64-bit version of Node specifically, since they will be installed in different locations.

这篇关于错误:进程“node.exe"未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆