无法使用Appcelerator Studio或CLI

时间:2016-01-22 14:35:13

标签: appcelerator

我有所有必要的先决条件(Node.js等)但是当我尝试登录Appcelerator Studio时,我会得到一个重复的对话框,询问我的凭据。我很肯定我正在键入正确的信息,因为我可以登录主网站。超时后,我收到错误ECONNRESET。我试过文档中给出的不同解决方案。有人有任何其他建议吗?

!ENTRY com.aptana.core 4 0 2016-01-29 11:47:02.463
!MESSAGE (Build 4.4.0.1445622407) [ERROR]  null
!STACK 0
java.lang.InterruptedException
    at java.lang.ProcessImpl.waitFor(Unknown Source)
    at com.aptana.core.util.ProcessRunner.processData(ProcessRunner.java:381)
    at com.aptana.core.util.ProcessRunner.processData(ProcessRunner.java:345)
    at com.aptana.core.util.ProcessRunner.processResult(ProcessRunner.java:432)
    at com.appcelerator.titanium.core.internal.cli.NodeAppcCLI.runCommand(NodeAppcCLI.java:239)
    at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.verifyAppcWhoami(TitaniumSplashHandler.java:1181)
    at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler.access$4(TitaniumSplashHandler.java:1178)
    at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$3.run(TitaniumSplashHandler.java:301)

!ENTRY com.appcelerator.titanium.rcp 4 0 2016-01-29 11:47:02.481
!MESSAGE (Build 4.4.0.1445622407) [ERROR]  Failed to check login status. Likely not logged in.

!ENTRY com.appcelerator.titanium.rcp 4 0 2016-01-29 11:49:28.471
!MESSAGE (Build 4.4.0.1445622407) [ERROR]  login failed, please try again

Appcelerator Login required to continue ...

login failed, please try again

Appcelerator Login required to continue ...

login failed, please try again

Appcelerator Login required to continue ...

login failed, please try again

Appcelerator Login required to continue ...

login failed, please try again

Appcelerator Login required to continue ...

login failed, please try again

Appcelerator Login required to continue ...

login failed, please try again

Appcelerator Login required to continue ...

2016-01-29T16:49:28.366Z | ERROR  | read ECONNRESET

1 个答案:

答案 0 :(得分:0)

尝试几点:

  • 确保您拥有最新的Studio版本。
  • 确保您拥有最新的appcelerator CLI

    $ npm install -g appcelerator
    
  • 查看您的工作区日志文件(appc-log.txt),其中可能包含登录错误。

  • 如果您使用的是Mac并且正在运行El Capitan,则可能需要安装legacy Java 6 runtime
  • 尝试从命令行登录,然后使用deauthorize开关注销:

    $ appc login
    $ appc logout --deauthorize
    
  • 尝试删除~/.appcelerator文件夹并重新运行,重置Studio配置。