Titanium开发环境搭建第三个坑

Nodejs版本的问题

 首先,如下引用:http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_Node

To run all Appcelerator components, you must have Node.js 0.10.13 or later.

On Mac OS X and Windows, if you have selected to install Titanium updates, Studio prompts you to install Node.js. On Linux, you need to manually install Node.js.

也就是说Nodejs要在0.10.13以上,也就是说要在Ubuntu 12.04LTS上的话,就不能用非官方源,我找的ppa。ok,装了。

但编译运行时,发现还是报错,而且有人遇到同样的问题。

再看:http://developer.appcelerator.com/question/150324/error-in-longjohnjs-when-creating-titanium-project

http://developer.appcelerator.com/question/151060/titanium-unable-to-build-after-310-update


What version of Node.js do you have installed? Titanium SDK 3.0.0.GA and 3.0.2.GA will only work with Node.js 0.8.X (download link:http://nodejs.org/dist/v0.8.22/). Node.js 0.10.X is only supported by Titanium 3.1.0 or newer (as of right now, 3.1.0 has not been released).

 最后一人说:It still throws this error for me even on v 3.2. Help!

这是要放弃这种解决方案的节奏。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值