在切换 Node 版本以与 Titanium studio 一起使用后,我运行了此命令。
sudo npm install -g alloy titanium
但是即使它看起来可以安装。合金和钛似乎都与我的 bash 配置文件无关。
我尝试过:
dave:~ $ titanium -v
-bash: titanium: command not found
Node 和 npm 最初是随 homebrew 安装的,现在我同时拥有 0.10.2 和 0.8.22 软件包。
我也无法在 SDK 中启动该应用程序,因为它找不到钛 CLI。
谁能帮我解决这个问题。
最佳答案
Titanium CLI 需要安装 Node.js 0.10.x 或更高版本
reference: https://github.com/appcelerator/titanium
关于node.js - 找不到 Titanium CLI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17046814/