[AC-5451] Android Builds failing for 5.5.1.G.A. with Studio 5.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Done |
Resolution Date | 2017-12-18T21:14:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Martin Williamson |
Assignee | Shak Hossain |
Created | 2017-12-13T11:33:02.000+0000 |
Updated | 2017-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
File | Date | Size |
---|---|---|
node-v57-darwin-x64.zip | 2017-12-13T13:39:06.000+0000 | 48270 |
Version info
[~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.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.
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.
[~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
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.
[~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
[~eharris] Thanks, that did it, I can confirm I can now deploy to Android devices again with 5.5.1.GA