[AC-159] Module error in Ti 4 versus Ti 3.5.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-11-22T11:41:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules, Titanium SDK & CLI |
Labels | ios |
Reporter | Raymond Verbruggen |
Assignee | Mostafizur Rahman |
Created | 2015-06-11T09:04:01.000+0000 |
Updated | 2016-03-07T10:57:11.000+0000 |
Description
I get the following error when compiling an existing SDK 3.5.1 project for SDK 4:
[INFO] : Found Titanium module id=it.logicainformatica.dropdown version=1.02 platform=iphone deploy-type=development path=/Users/raymond/Library/Application Support/Titanium/modules/iphone/it.logicainformatica.dropdown/1.02
/Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
throw e;
^
TypeError: Invalid Version: 1.02.0
at new SemVer (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:273:11)
at compare (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:460:10)
at Function.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/node_modules/semver/semver.js:494:10)
at Object.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/version.js:57:16)
at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:296:23
at Array.forEach (native)
at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:276:10
at Array.forEach (native)
at detect.callback (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:229:37)
at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA/node_modules/node-appc/lib/timodule.js:170:51
---------------------------------------------
at exports.execFile (child_process.js:691:9)
at exports.exec (child_process.js:578:18)
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/node-appc/lib/environ.js:267:3
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:251:17
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:154:25
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:248:21
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/async/lib/async.js:612:34
at /Users/raymond/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/node_modules/node-appc/lib/environ.js:234:7
TRACE | titanium exited with exit code 8
ERROR | Error: ti run exited with error code 8
Hello, This is not a bug in latest SDK 4.1.1.GA. I am not sure you are still having the issue. Try updating your Studio, SDK and CLI. Feel free to reply back with your findings. Thanks.
Hello, I think this is a bug in the module regarding the module's version number format 1.02.0 versus 1.2.0 . I already asked the developer to update the module but no response. Could you please address this issue to the developer also? Best regards Raymond
Hello, We couldn't reproduce this issue as a bug in our environment. To reproduce this error, we compiled an existing SDK 3.5.1 project for SDK 4.0.0 and it worked fine with no error. *Testing Environment:* Appcelerator Command-Line Interface, version 5.0.4 Appcelerator Studio, build: 4.3.3.201510212245 Ti SDK Version :3.5.1GA, 4.0.0 GA Node.js Version :0.10.37 Mac OS X,Version :10.10.1(Mac OSX Yosemite) Jdk version : 1.7.0_80.jdk xcode version: 6.2 simulator : iPhone 6(8.2) *Steps to test:* 1. Create/select an existing SDK 3.5.1 project and compile it for SDK 4.0.0 *Console Log:*
Thanks.
Hello, The error is still present, I tested it in SDK 5.1.1 as shown below. Sorry but your testcase is not compatible with how I get the error. Please reopen and solve, this is becoming critical for an update to an app currently in production!! [INFO] : Found Titanium module id=it.logicainformatica.dropdown version=1.02 platform=iphone deploy-type=development path=/Users/raymond/Library/Application Support/Titanium/modules/iphone/it.logicainformatica.dropdown/1.02 /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/node_modules/semver/semver.js:293 throw new TypeError('Invalid Version: ' + version); ^ TypeError: Invalid Version: 1.02.0 at new SemVer (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/node_modules/semver/semver.js:293:11) at compare (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/node_modules/semver/semver.js:569:10) at Function.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/node_modules/semver/semver.js:603:10) at Object.lt (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/version.js:57:16) at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/timodule.js:296:23 at Array.forEach (native) at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/timodule.js:276:10 at Array.forEach (native) at Object.detect.callback (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/timodule.js:229:37) at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/timodule.js:170:51 --------------------------------------------- at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13 at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13) at doNTCallback0 (node.js:419:9) --------------------------------------------- at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13 at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13) at doNTCallback0 (node.js:419:9) --------------------------------------------- at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13 at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13) at doNTCallback0 (node.js:419:9) --------------------------------------------- at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13 at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13) at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:277:29 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16 --------------------------------------------- at magik (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/utilities.js:40:13) at detect (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/simulator.js:123:9) at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/simulator.js:426:3 at fireCallbacks (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/xcode.js:63:5) at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/xcode.js:69:11 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/utilities.js:55:9 at doNTCallback0 (node.js:419:9) at process._tickCallback (node.js:348:13) --------------------------------------------- at magik (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/utilities.js:40:13) at Object.detect (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/xcode.js:56:27) at Object.findSimulators (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/ioslib/lib/simulator.js:420:8) at iOSBuilder.selectDevice (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/iphone/cli/commands/_build.js:1737:22) at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13 at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13) at doNTCallback0 (node.js:419:9) at process._tickCallback (node.js:348:13) --------------------------------------------- at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:44:16 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:694:17 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:173:37 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/node-appc/lib/async.js:64:51 at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:689:13 at iterate (/Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:265:13) at doNTCallback0 (node.js:419:9) --------------------------------------------- at /Users/raymond/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/node_modules/async/lib/async.js:275:35 2015-11-26T10:24:56.681Z | TRACE | titanium exited with exit code 1 2015-11-26T10:24:56.682Z | ERROR | Error: ti run exited with error code 1 at ChildProcess.