我刚刚发现了 forge,并想立即尝试一下。我密切关注http://docs.trigger.io/en/v1.3/getting-started.html#mac-and-linux-users上的教程,一切都很顺利,直到我尝试实际运行我的应用程序:
(forge-environment) forge run web
[ INFO] Forge tools running at version 3.3.2
[ INFO] Checking JavaScript files...
[ INFO] JavaScript check complete
[ INFO] Verifying your configuration settings...
[ INFO] Configuration settings check complete
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/mononofu/Programmieren/ArmorCalc/.template/generate_dynamic/utils.py", line 163, in runner
state.proc = lib.PopenWithoutNewConsole(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=kw.get('env'))
File "/home/mononofu/Programmieren/ArmorCalc/.template/generate_dynamic/lib.py", line 155, in __init__
self._old_popen.__init__(self, *args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
(它实际上并没有崩溃,只是挂了一会儿,然后以状态 131 退出)无论我如何尝试运行它(android,web),都会发生这种情况。我在 Ubuntu 12.04 上,一切都更新了。我没有改变任何默认值,只是create
然后build
有任何想法吗?