Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5451] Android Builds failing for 5.5.1.G.A. with Studio 5.0

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDone
Resolution Date2017-12-18T21:14:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMartin Williamson
AssigneeShak Hossain
Created2017-12-13T11:33:02.000+0000
Updated2017-12-18T21:14:42.000+0000

Description

Any android build now fails as below, updated node to 8.9.1 and same error Android builds still work on pre-upgraded machine. iOS builds fine (iOS has to use sdk 6+) Axway Appcelerator Studio 5.0.0.201712081732-08122017173253 Aptana Studio 3 Core 5.0.0.1512385460-B07m8-C5IlwNiqz03o69243696B2
2017-12-13T11:09:42.423Z | DEBUG  | [PLUGIN-LOAD] 0ms /Users/Martin/.appcelerator/install/7.0.0/package/appc.js
2017-12-13T11:09:42.512Z | DEBUG  | [PLUGIN-LOAD] 87ms /Users/Martin/.appcelerator/install/7.0.0/package/node_modules/appc-cli-titanium/appc.js
2017-12-13T11:09:42.513Z | DEBUG  | run plugin: /Users/Martin/.appcelerator/install/7.0.0/package/node_modules/appc-cli-titanium
2017-12-13T11:09:42.516Z | DEBUG  | [PLUGIN-LOAD] 0ms /Users/Martin/.appcelerator/install/7.0.0/package/node_modules/arrow/appc.js
2017-12-13T11:09:42.520Z | DEBUG  | run plugin: /Users/Martin/.appcelerator/install/7.0.0/package/node_modules/arrow
2017-12-13T11:09:42.532Z | TRACE  | plugin "arrow" failed its "when" function check, skipping...
2017-12-13T11:09:42.533Z | TRACE  | loading plugin "titanium" for command "run" CLI options via function
2017-12-13T11:09:42.534Z | TRACE  | loading plugin "titanium" for command "run" CLI options via array
2017-12-13T11:09:42.537Z | TRACE  | executing command "run" with the following plugins:
["titanium"]
2017-12-13T11:09:42.538Z | TRACE  | session already loaded in opts.session
2017-12-13T11:09:42.540Z | DEBUG  | Titanium Downloads Last Checked: 1513080225440
2017-12-13T11:09:52.441Z | ERROR  | An uncaught exception was thrown!
Rebuild failed:
2017-12-13T11:09:52.442Z | ERROR  | Rebuild failed:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.29
node-pre-gyp info using node@8.9.1 | darwin | x64
node-pre-gyp info check checked for "/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" (not found)
node-pre-gyp http GET https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz
node-pre-gyp http 403 https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download: https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for node-ios-device@0.11.2 and node@8.9.1 (node-v57 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp http 403 status code downloading tarball https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.9.1 | darwin | x64
gyp info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.9.1 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/Martin/.node-gyp/8.9.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/Martin/.node-gyp/8.9.1',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/Martin/.node-gyp/8.9.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.9.1 | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
ld: framework not found MobileDevice
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/node_ios_device.node] Error 1
gyp ERR! build error 
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.2.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" "--module_name=node_ios_device" "--module_path=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64"
gyp ERR! cwd /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device
gyp ERR! node -v v8.9.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:925:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Darwin 17.2.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device
node-pre-gyp ERR! node -v v8.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
node-pre-gyp ERR! not ok
2017-12-13T11:09:52.443Z | TRACE  | Error: Rebuild failed:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.29
node-pre-gyp info using node@8.9.1 | darwin | x64
node-pre-gyp info check checked for "/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" (not found)
node-pre-gyp http GET https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz
node-pre-gyp http 403 https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download: https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for node-ios-device@0.11.2 and node@8.9.1 (node-v57 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp http 403 status code downloading tarball https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.9.1 | darwin | x64
gyp info ok 
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.9.1 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/Martin/.node-gyp/8.9.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/Martin/.node-gyp/8.9.1',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/Martin/.node-gyp/8.9.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device',
gyp info spawn args   '-Dnode_engine=v8',
node-pre-gyp info it worked if it ends with ok
gyp info spawn args   '--depth=.',
node-pre-gyp info using node-pre-gyp@0.6.29
gyp info spawn args   '--no-parallel',
node-pre-gyp info using node@8.9.1 | darwin | x64
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
node-pre-gyp info check checked for "/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" (not found)
gyp info ok 
gyp info it worked if it ends with ok
node-pre-gyp http GET https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz
gyp info using node-gyp@3.6.2
gyp info using node@8.9.1 | darwin | x64
node-pre-gyp http 403 https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
ld: framework not found MobileDevice
node-pre-gyp ERR! Tried to download: https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz 
clang: error: linker command failed with exit code 1 (use -v to see invocation)
node-pre-gyp ERR! Pre-built binaries not found for node-ios-device@0.11.2 and node@8.9.1 (node-v57 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp http 403 status code downloading tarball https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v57-darwin-x64.tar.gz 
make: *** [Release/node_ios_device.node] Error 1
gyp info it worked if it ends with ok
gyp ERR! build error 
gyp info using node-gyp@3.6.2
gyp ERR! stack Error: make failed with exit code: 2
gyp info using node@8.9.1 | darwin | x64
gyp info ok 
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp info it worked if it ends with ok
gyp ERR! System Darwin 17.2.0
gyp info using node-gyp@3.6.2
gyp info using node@8.9.1 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" "--module_name=node_ios_device" "--module_path=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64"
gyp info spawn args   'binding.gyp',
gyp ERR! cwd /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device
gyp info spawn args   '-f',
gyp ERR! node -v v8.9.1
gyp info spawn args   'make',
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
gyp info spawn args   '-I',
node-pre-gyp ERR! build error 
gyp info spawn args   '/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64' (1)
gyp info spawn args   '/Users/Martin/.node-gyp/8.9.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
gyp info spawn args   '-Dvisibility=default',
node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
gyp info spawn args   '-Dnode_root_dir=/Users/Martin/.node-gyp/8.9.1',
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:925:16)
gyp info spawn args   '-Dnode_lib_file=/Users/Martin/.node-gyp/8.9.1/<(target_arch)/node.lib',
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Darwin 17.2.0
gyp info spawn args   '-Dmodule_root_dir=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
gyp info spawn args   '--no-parallel',
node-pre-gyp ERR! cwd /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device
gyp info spawn args   '--generator-output',
node-pre-gyp ERR! node -v v8.9.1
gyp info spawn args   'build',
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok 
node-pre-gyp ERR! not ok
gyp info it worked if it ends with ok
    at ChildProcess.<anonymous> (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp-init/index.js:49:16)
gyp info using node-gyp@3.6.2
    at emitTwo (events.js:126:13)
gyp info using node@8.9.1 | darwin | x64
    at ChildProcess.emit (events.js:214:7)
gyp info spawn make
    at maybeClose (internal/child_process.js:925:16)
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
ld: framework not found MobileDevice
---------------------------------------------
clang: error: linker command failed with exit code 1 (use -v to see invocation)
    at Immediate.<anonymous> (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp-init/index.js:44:9)
make: *** [Release/node_ios_device.node] Error 1
    at runCallback (timers.js:789:20)
gyp ERR! build error 
    at tryOnImmediate (timers.js:751:5)
gyp ERR! stack Error: make failed with exit code: 2
    at processImmediate [as _immediateCallback] (timers.js:722:5)
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
---------------------------------------------
gyp ERR! stack     at emitTwo (events.js:126:13)
    at init (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp-init/index.js:20:2)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
    at initBinding (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/ios-device.js:52:2)
gyp ERR! System Darwin 17.2.0
    at Object.devices (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/ios-device.js:73:2)
    at /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/ioslib/lib/device.js:48:13
    at /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/ioslib/lib/utilities.js:55:9
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node" "--module_name=node_ios_device" "--module_path=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64"
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
gyp ERR! cwd /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device
    at process._tickCallback (internal/process/next_tick.js:180:9)
gyp ERR! node -v v8.9.1
---------------------------------------------
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
    at magik (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/ioslib/lib/utilities.js:40:13)
node-pre-gyp ERR! build error 
    at Object.detect (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/ioslib/lib/device.js:41:9)
    at detectDevices (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/ioslib/index.js:84:12)
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/node-v57-darwin-x64' (1)
    at /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:3671:13
    at eachOfArrayLike (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:1002:13)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
    at eachOf (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:1052:9)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
    at _parallel (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:3670:9)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:925:16)
    at Object.parallelLimit [as parallel] (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:3750:7)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Darwin 17.2.0
    at /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/ioslib/index.js:76:9
---------------------------------------------
    at magik (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/ioslib/lib/utilities.js:40:13)
    at Object.detect (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/ioslib/index.js:46:9)
    at iOSBuilder.<anonymous> (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/iphone/cli/commands/_build.js:320:10)
    at /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/titanium-sdk/lib/titanium.js:99:5
    at /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:3671:13
    at eachOfArrayLike (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:1002:13)
    at eachOf (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:1052:9)
    at _parallel (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:3670:9)
    at Object.parallelLimit [as parallel] (/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/async/dist/async.js:3750:7)
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device
node-pre-gyp ERR! node -v v8.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
node-pre-gyp ERR! not ok

Attachments

FileDateSize
node-v57-darwin-x64.zip2017-12-13T13:39:06.000+000048270

Comments

  1. Martin Williamson 2017-12-13

    Version info
       *** Date: Wednesday, 13 December 2017 11:26:37 Greenwich Mean Time
       
       *** Platform Details:
       
       *** System properties:
       applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
       awt.toolkit=sun.lwawt.macosx.LWCToolkit
       eclipse.application=com.appcelerator.titanium.rcp.application
       eclipse.buildId=5.0.0.201712081732
       eclipse.commands=-os
       macosx
       -ws
       cocoa
       -arch
       x86_64
       -showsplash
       -launcher
       /Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/AppceleratorStudio
       -name
       AppceleratorStudio
       --launcher.library
       /Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20150204-1316/eclipse_1607.so
       -startup
       /Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
       --launcher.overrideVmargs
       -keyring
       /Users/Martin/.eclipse_keyring
       -consoleLog
       -showlocation
       -vm
       /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib
       eclipse.consoleLog=true
       eclipse.home.location=file:/Applications/Appcelerator Studio/
       eclipse.launcher=/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/AppceleratorStudio
       eclipse.launcher.name=AppceleratorStudio
       eclipse.log.backup.max=5
       eclipse.log.size.max=10000
       eclipse.p2.data.area=@config.dir/../p2/
       eclipse.p2.profile=profile
       eclipse.p2.unsignedPolicy=allow
       eclipse.product=com.appcelerator.titanium.rcp.product
       eclipse.startTime=1513163206897
       eclipse.stateSaveDelayInterval=30000
       eclipse.vm=/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib
       eclipse.vmargs=-Xms128m
       -Xmx1024m
       -XX:MaxPermSize=256m
       -Xverify:none
       -Declipse.p2.unsignedPolicy=allow
       -Declipse.log.size.max=10000
       -Declipse.log.backup.max=5
       -Dtitanium.moduleListUrl=http://preview.appcelerator.com/360/modules.json
       -Dfile.encoding=UTF-8
       -Xdock:icon=../Resources/titanium.icns
       -XstartOnFirstThread
       -Dorg.eclipse.swt.internal.carbon.smallFonts
       -Djava.class.path=/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
       equinox.use.ds=true
       file.encoding=UTF-8
       file.encoding.pkg=sun.io
       file.separator=/
       ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16
       gopherProxySet=false
       gosh.args=--nointeractive
       java.awt.graphicsenv=sun.awt.CGraphicsEnvironment
       java.awt.printerjob=sun.lwawt.macosx.CPrinterJob
       java.class.path=/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
       java.class.version=52.0
       java.endorsed.dirs=/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/endorsed
       java.ext.dirs=/Users/Martin/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
       java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre
       java.io.tmpdir=/var/folders/sc/bydy1d690nxg9f3nrtrydf880000gn/T/
       java.library.path=/Users/Martin/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
       java.runtime.name=Java(TM) SE Runtime Environment
       java.runtime.version=1.8.0_101-b13
       java.specification.name=Java Platform API Specification
       java.specification.vendor=Oracle Corporation
       java.specification.version=1.8
       java.vendor=Oracle Corporation
       java.vendor.url=http://java.oracle.com/
       java.vendor.url.bug=http://bugreport.sun.com/bugreport/
       java.version=1.8.0_101
       java.vm.info=mixed mode
       java.vm.name=Java HotSpot(TM) 64-Bit Server VM
       java.vm.specification.name=Java Virtual Machine Specification
       java.vm.specification.vendor=Oracle Corporation
       java.vm.specification.version=1.8
       java.vm.vendor=Oracle Corporation
       java.vm.version=25.101-b13
       line.separator=
       
       org.eclipse.debug.ui.breakpoints.toggleFactoriesUsed=true
       org.eclipse.equinox.launcher.splash.location=/Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.360.rcp.override_1.0.0.201712081732/splash.bmp
       org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
       org.eclipse.swt.internal.carbon.smallFonts=
       org.eclipse.update.reconcile=false
       org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JavaSE/compact1-1.8,JavaSE/compact2-1.8,JavaSE/compact3-1.8,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6,JavaSE-1.7,JavaSE-1.8
       org.osgi.framework.language=en
       org.osgi.framework.os.name=MacOSX
       org.osgi.framework.os.version=10.13.1
       org.osgi.framework.processor=x86-64
       org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JRE"; version:List<Version>="1.0, 1.1",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8",osgi.ee; osgi.ee="JavaSE/compact1"; version:List<Version>="1.8",osgi.ee; osgi.ee="JavaSE/compact2"; version:List<Version>="1.8",osgi.ee; osgi.ee="JavaSE/compact3"; version:List<Version>="1.8"
       org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.nimbus,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.spi.http,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
       org.osgi.framework.uuid=10842fb9-f5df-0017-1665-c9524b5bb6c7
       org.osgi.framework.vendor=Eclipse
       org.osgi.framework.version=1.8.0
       org.osgi.supports.framework.extension=true
       org.osgi.supports.framework.fragment=true
       org.osgi.supports.framework.requirebundle=true
       os.arch=x86_64
       os.name=Mac OS X
       os.version=10.13.1
       osgi.arch=x86_64
       osgi.bundles=reference:file:org.eclipse.osgi.compatibility.state_1.0.1.v20140709-1414.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.1.0.v20131217-1203.jar@1:start
       osgi.bundles.defaultStartLevel=4
       osgi.compatibility.bootdelegation=true
       osgi.configuration.area=file:/Applications/Appcelerator Studio/configuration/
       osgi.framework=file:/Applications/Appcelerator Studio/plugins/org.eclipse.osgi_3.10.2.v20150203-1939.jar
       osgi.framework.extensions=reference:file:org.eclipse.osgi.compatibility.state_1.0.1.v20140709-1414.jar
       osgi.framework.shape=jar
       osgi.framework.useSystemProperties=true
       osgi.frameworkClassPath=., file:/Applications/Appcelerator Studio/plugins/org.eclipse.osgi.compatibility.state_1.0.1.v20140709-1414.jar
       osgi.install.area=file:/Applications/Appcelerator Studio/
       osgi.instance.area=file:/Users/Martin/Documents/Appcelerator_Studio_Workspace/
       osgi.instance.area.default=file:/Users/Martin/Documents/Appcelerator_Studio_Workspace/
       osgi.logfile=/Users/Martin/Documents/Appcelerator_Studio_Workspace/.metadata/.log
       osgi.nl=en_GB
       osgi.os=macosx
       osgi.splashLocation=/Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.360.rcp.override_1.0.0.201712081732/splash.bmp
       osgi.splashPath=platform:/base/plugins/com.appcelerator.titanium.360.rcp.override
       osgi.syspath=/Applications/Appcelerator Studio/plugins
       osgi.tracefile=/Users/Martin/Documents/Appcelerator_Studio_Workspace/.metadata/trace.log
       osgi.ws=cocoa
       path.separator=:
       socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16
       sun.arch.data.model=64
       sun.boot.class.path=/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/classes
       sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib
       sun.cpu.endian=little
       sun.cpu.isalist=
       sun.io.unicode.encoding=UnicodeBig
       sun.jnu.encoding=UTF-8
       sun.management.compiler=HotSpot 64-Bit Tiered Compilers
       sun.os.patch.level=unknown
       titanium.moduleListUrl=http://preview.appcelerator.com/360/modules.json
       user.country=GB
       user.dir=/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS
       user.home=/Users/Martin
       user.language=en
       user.name=Martin
       user.timezone=Europe/London
       
       *** Features:
       com.appcelerator.titanium.feature.360.rcp (5.0.0.201712081732-8k9WFNPFSyBcNn_HxRUah46PBvJB) "Titanium Studio"
       com.appcelerator.titanium.studio (5.0.0.1511011962-7y7Z8-9XZ-MBgyb0t43) "Titanium Studio"
       com.aptana.feature (5.0.0.1512385460-B07m8-C5IlwNiqz03o69243696B2) "Aptana Studio 3"
       org.eclipse.emf.common (2.10.1.v20150123-0348) "EMF Common"
       org.eclipse.emf.ecore (2.10.2.v20150123-0348) "EMF Ecore"
       org.eclipse.help (2.0.103.v20150204-1700) "Help System Base"
       org.eclipse.platform (4.4.2.v20150204-1700) "Eclipse Platform"
       org.eclipse.rcp (4.4.2.v20150204-1700) "Eclipse RCP"
       
       
  2. Ewan Harris 2017-12-13

    [~marchief] We built and uploaded node-ios-device binaries to prevent this error back to 6.0.X SDKs, however we haven't updated 5.5.X. However I have attached a zip that should fix the issue you are seeing, if you download the attachment on this ticket and then copy the folder to /Users/Martin/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/node_modules/node-ios-device/binding/ I believe this should fix the issue I'll discuss the potential updating officially with the team but in accordance with our [product lifecycle](http://docs.appcelerator.com/platform/latest/#!/guide/Axway_Appcelerator_Product_Lifecycle) 5.5.1.GA has reached end of support status.
  3. Martin Williamson 2017-12-13

    Thanks for this, we are migrating to the latest SDKs, but this has been a slow process due to the modules that were in use. The current production version is the last of the 5.5 builds but still need to support it for live defects while we update to the latest version. The file above helps the build but it still fails on deploying to the device or packaging.
       [INFO] :   Generating /Users/Martin/Documents/Appcelerator_Studio_Workspace/TripHub/build/android/res/values/theme.xml
       [INFO] :   Packaging application: /Users/Martin/Library/android-sdk-macosx/build-tools/26.0.1/aapt "package" "-f" "-m" "-J" "/Users/Martin/Documents/Appcelerator_Studio_Workspace/TripHub/build/android/gen" "-M" "/Users/Martin/Documents/Appcelerator_Studio_Workspace/TripHub/build/android/AndroidManifest.xml" "-A" "/Users/Martin/Documents/Appcelerator_Studio_Workspace/TripHub/build/android/bin/assets" "-S" "/Users/Martin/Documents/Appcelerator_Studio_Workspace/TripHub/build/android/res" "-I" "/Users/Martin/Library/android-sdk-macosx/platforms/android-25/android.jar" "-F" "/Users/Martin/Documents/Appcelerator_Studio_Workspace/TripHub/build/android/bin/app.ap_" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview:com.google.android.gms" "-S" "/var/folders/sc/bydy1d690nxg9f3nrtrydf880000gn/T/1171113-12117-uupini.tlpbd/res" "-S" "/var/folders/sc/bydy1d690nxg9f3nrtrydf880000gn/T/1171113-12117-6o0bu6.xjfqk/res" "-S" "/var/folders/sc/bydy1d690nxg9f3nrtrydf880000gn/T/1171113-12117-1a9pbo.812zd/res"
       2017-12-13T18:06:12.814Z | ERROR  | An uncaught exception was thrown!
       Path must be a string. Received undefined
       2017-12-13T18:06:12.815Z | ERROR  | Path must be a string. Received undefined
       
    If it is simply that studio v5 no longer supports the 5.5.1.GA SDK then we will keep one of our dev machines at studio v4 until we release the next version.
  4. Ewan Harris 2017-12-18

    [~marchief] If you copy the change in [this commit](https://github.com/appcelerator/titanium_mobile/commit/1eb1a1b412bdf21f94e3c2a8aaaa16c1c5b68bcc) you should be able to fix that issue. I can't speak for official support but I would say that supporting a 5.X based project might be more difficult, however with the two above issues fixed I think that should be the general usage (i.e building, and packaging apps) sorted
  5. Martin Williamson 2017-12-18

    I can't find those lines in 5.5.1.GA, 6 or 7. Hopefully, we won't have too many live fixes until we complete the upgrade to 6 ready to migrate to 7.
  6. Ewan Harris 2017-12-18

    [~marchief] My apologies, the commit I linked was a change in 6.0.0, so the line number may be different in the 5.5.1.GA build as the change was made on the 6_0_X branch and not backported. On my install it's in on line 3751 which matches the line in the 5_5_X branch https://github.com/appcelerator/titanium_mobile/blob/5_5_X/android/cli/commands/_build.js#L3751
  7. Martin Williamson 2017-12-18

    [~eharris] Thanks, that did it, I can confirm I can now deploy to Android devices again with 5.5.1.GA

JSON Source