在Windows 7 PC上安装Titanium Studio后,我尝试创建一个新的移动项目,但收到错误消息,表明我没有登录,并且未创建项目。另请注意,此PC位于 公司代理服务器 之后,因此当它尝试创建新项目时,它尝试与Appcelerator服务器通信以为此项目创建新的GUID 。它直接访问服务器而不使用公司代理。
当我打开终端并运行ti命令ti status
时,它返回我没有登录。然后我运行命令ti login
,输入我的用户名/密码,结果是{{1} }
答案 0 :(得分:0)
httpProxyServer的Titanium CLI设置为空,因此未使用任何代理。要验证这一点,请运行此命令并找到httpProxyServer属性。
ti config
cli.httpProxyServer = ""
设置此属性:
ti config --append cli.httpProxyServer http://enter-your-proxy-address-here.com:80
cli.httpProxyServer saved
现在登录:
ti login
Titanium Command-Line Interface, CLI version 3.2.0, Titanium SDK version 3.2.0.GA
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
Username: enter-your-userid-here
Password: **********
Logged in successfully
现在您将能够创建一个新的移动项目。
请注意,此帖子涉及需要http代理的问题。