我试图通过nodejs插件运行带有崇高文本的javascript,并获得以下消息。我发现这个question似乎是相关的,但我仍然无法理解。该脚本由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)。
答案 0 :(得分:1)
我遇到了同样的问题,并通过将其放入我的Nodejs.sublime-settings文件(通过点击命令+ shift + p并选择Nodejs :: User File Settings)来修复:
{
"node_path": "/opt/local/lib/",
"node_command": "/opt/local/bin/node"
}
用您系统上有意义的东西替换路径。