Android 钛模块版本不匹配和安装失败
当我运行appc安装程序时,它总是失败Android 钛模块版本不匹配和安装失败,android,ios,titanium,titanium-mobile,appcelerator-titanium,Android,Ios,Titanium,Titanium Mobile,Appcelerator Titanium,当我运行appc安装程序时,它总是失败 $ appc setup Finding latest version ...5.2.2 ✓ Version 5.2.2 already installed. ? Do you plan on developing Titanium apps? Yes Checking your environment... You have the latest Titanium SDK release 5.2.2.GA 2016-05-12T08:52:33.55
$ appc setup
Finding latest version ...5.2.2 ✓
Version 5.2.2 already installed.
? Do you plan on developing Titanium apps? Yes
Checking your environment...
You have the latest Titanium SDK release 5.2.2.GA
2016-05-12T08:52:33.552Z | ERROR | titanium exited with 1 exit code
尽管appc new
和appc ti build-p ios
工作正常(带有警告)
appc ti build-p安卓
没有
$ appc ti build -p android
[Error: Module version mismatch. Expected 46, got 14.]
Appcelerator Command-Line Interface, version 5.2.2
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
An uncaught exception was thrown!
Cannot read property 'version' of undefined
Cannot read property 'version' of undefined
如何解决此问题?问题可能与npm模块安装有关-请按照此处的说明操作-问题可能与npm模块安装有关-请按照此处的说明操作-
$ appc ti build -p android
[Error: Module version mismatch. Expected 46, got 14.]
Appcelerator Command-Line Interface, version 5.2.2
Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
An uncaught exception was thrown!
Cannot read property 'version' of undefined
Cannot read property 'version' of undefined