首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Titanium不能在终端中运行"titanium“命令

Titanium不能在终端中运行"titanium“命令
EN

Stack Overflow用户
提问于 2013-08-13 16:43:42
回答 1查看 1.1K关注 0票数 3

我试图运行“钛”命令在钛工作室的终端,但它给出以下错误

代码语言:javascript
运行
复制
$ titanium
Titanium Command-Line Interface, CLI version 3.1.1, Titanium SDK version 3.1.1.GA
Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.

Please report bugs to http://jira.appcelerator.org/

[ERROR] "c:\Users\grant\AppData\Roaming\npm\node_modules\titanium\bin\titanium" is an unrecognized command.

Run node.exe help for available commands.

我在Windows7上运行的是Titanium studio。我可以在Windows cmd上成功运行"titanium“命令,它会给出预期的输出。我是个新手,根据我的知识,所有的路径都是正确配置的。我可以在Android模拟器上创建和运行Titanium项目。什么会导致这个错误,请帮助我。提前谢谢你!

EN

回答 1

Stack Overflow用户

发布于 2013-11-08 21:11:20

我今天在这里遇到了同样的情况。经过一些谷歌搜索,我发现这实际上是一个钛工作室的错误。参见this ticket

在评论中,你可以找到a fix in a Github pull。您可以手动应用修复程序,它应该会起作用(适用于我的Windows7)。

顺便说一句,这个文件位于%appdata%\npm\node_modules\titanium\lib\cli.js,如果你想知道的话。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18204469

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档