[TIMOB-23245] Windows: Building a module with latest 5.4.0 SDK cannot be used in app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-04-22T07:49:06.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | Windows |
Labels | n/a |
Reporter | Jörgen Buder |
Assignee | Kota Iguchi |
Created | 2016-04-20T10:00:42.000+0000 |
Updated | 2016-06-30T17:58:06.000+0000 |
Description
Related to the ticket regarding building a windows module and not packaging it right, trying to copy over the folder structure is no problem, however when I then try to build the app with the new module I get strange errors in the module detection part:
It complains about "cyan" and the module is the SAME module exactly as I used with the old SDK 5.4.0.v20160406 , I did use the same SDK with the newer build so I use the 20160419 both building the module and using it in the app...
2016-04-20T09:56:33.289Z | ERROR | An uncaught exception was thrown!
Cannot read property 'cyan' of undefined
2016-04-20T09:56:33.291Z | ERROR | Cannot read property 'cyan' of undefined
2016-04-20T09:56:33.291Z | TRACE | TypeError: Cannot read property 'cyan' of undefined
at C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160419234222\node_modules\node-appc\lib\timodule.js:485:120
at Array.forEach (native)
at C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160419234222\node_modules\node-appc\lib\timodule.js:456:34
at Array.forEach (native)
at C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160419234222\node_modules\node-appc\lib\timodule.js:452:33
at Array.forEach (native)
at C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160419234222\node_modules\node-appc\lib\timodule.js:448:30
at C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160419234222\node_modules\async\lib\async.js:52:16
at Object.async.forEachOf.async.eachOf (C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160419234222\node_modules\async\lib\async.js:236:30)
at Object.async.forEach.async.each (C:\Users\jorgenbuder\Library\Application Support\Titanium\mobilesdk\win32\5.4.0.v20160419234222\node_modules\async\lib\async.js:209:22)
---------------------------------------------
at Object.exports.execFile (child_process.js:821:9)
at exports.exec (child_process.js:649:18)
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\node-appc\lib\environ.js:267:3
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:697:13
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:52:16
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:272:32
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
---------------------------------------------
at Object.exports.execFile (child_process.js:821:9)
at exports.exec (child_process.js:649:18)
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\node-appc\lib\environ.js:255:6
at C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
at iterate (C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
at async.forEachOfSeries.async.eachOfSeries (C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:284:9)
at _parallel (C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:688:9)
at Object.async.series (C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\async\lib\async.js:710:9)
at Object.getOSInfo (C:\Users\jorgenbuder\.appcelerator\install\5.2.2\package\node_modules\titanium\node_modules\node-appc\lib\environ.js:223:8)
I think root cause of this issue is TIMOB-23248. Since it's merged I think we can resolve this for now. Please re-open this if this still happens.
Closing ticket as issue no longer occurs and appears to have been resolved through the linked tickets