Getting TypeError:execve()arg 3在尝试以高级文本运行nodejs时包含一个非字符串值



我正试图通过nodejs插件运行带有崇高文本的javascript,并收到以下消息。我发现这个问题似乎很有意义,但我还是想不通。该脚本采用UTF-8编码。非常感谢。

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  File "./lib/command_thread.py", line 41, in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
TypeError: execve() arg 3 contains a non-string value

ps。我正在运行OS X(10.8)。

我遇到了同样的问题,通过将其放在我的Nodejs.sublime-settings文件中(可以通过点击命令+shift+p并选择Nodejs::User file settings来访问):

{
    "node_path": "/opt/local/lib/",
    "node_command": "/opt/local/bin/node"
}

将路径替换为系统上有意义的路径。

最新更新