2013-04-10 104 views
0

第一次我嘗試運行我的第一個應用程序時,我用鈦做的,然後我托盤從鈦工作室安裝我的應用程序到我的設備。我已經改變了我的設備調試模式,然後我嘗試我的應用程序由鈦工作室安裝到我的設備,但我從控制檯得到這個消息的錯誤:鈦合金編譯未能安裝設備Android

[INFO] logfile = C:\Users\user\My Documents\Titanium_Studio_Workspace\DStray\build.log 
[DEBUG] C:\Users\zakki.a\AppData\Roaming\Titanium\mobilesdk\win32\3.0.2.GA\android\builder.py install DStray C:\KANTOR\tools\adt-bundle-windows-x86\sdk C:\Users\user\My Documents\Titanium_Studio_Workspace\DStray com.dstray.user 4 
[INFO] plugin=C:\Users\user\AppData\Roaming\Titanium\plugins\ti.alloy\1.0\plugin.py 
[INFO] Detected compiler plugin: ti.alloy/1.0 
[INFO] alloy app found at C:\Users\user\My Documents\Titanium_Studio_Workspace\DStray\app 
[INFO] Executing Alloy compile: 
[INFO] alloy.cmd compile C:\Users\user\My Documents\Titanium_Studio_Workspace\DStray\app --no-colors --config platform=android,version=8,simtype=none,devicefamily=none,deploytype=test, 
'node' is not recognized as an internal or external command, 

operable program or batch file. 


[ERROR] Alloy compile failed 

任何人可以幫助我,爲什麼出現這種情況我應該怎麼辦?

回答

1

當我試圖創建一個新的移動項目(新鮮鈦工作室安裝後右)我正在以下錯誤消息:

「節點」未被識別爲內部或外部命令,可操作 程序或批處理文件。

我安裝了Node.JS版本:v0.8.22版本。

升級的Node.js(http://nodejs.org/)到最新版本:v0.10.9固定我的問題。

0

您是否在您的計算機上安裝了nodeJS?

+0

是的,我沒有安裝nodejs – 2013-04-22 01:30:24

+0

這個答案應該是一個評論 – Nick 2013-12-23 03:22:21