Project: titanium
Issue TIMOB-17949: CLI: Build fails when using Node 0.11.14
The next version of Node is reportedly imminent. When running the newest unstable / prerelease build (0.11.14) {{ti build -p ios}} fails with {code} [DEBUG] Symlinking /Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/Resources/iphone/ti-mocha.js => /Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/iphone/build/Debug-iphonesimulator/TestSuite.app/ti-mocha.js [INFO] Processing Titanium namespace resources [DEBUG] Copying /Users/admin/Library/Application Support/Titanium/mobilesdk/osx/3.5.0/iphone/modules/ui/images => /Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/iphone/build/Debug-iphonesimulator/TestSuite.app/modules/ui/images [INFO] Skipping xcodebuild [INFO] Finished building the application in 4s 579ms /Users/admin/repos/titanium_skypanther/node_modules/longjohn/dist/longjohn.js:185 throw e; ^ Socket.socketErrorListener (_http_client.js:268:42),Socket.emit (events.js:107:17),net.js:436:14,process._tickCallback (node.js:372:11) {code} {{ti build -p android}} fails with a similar {code} [INFO] Creating unsigned apk [INFO] Processing /Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/android/src [INFO] Writing unsigned apk: /Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/android/bin/app-unsigned.apk [INFO] Using MD5withRSA signature algorithm [INFO] Signing apk: /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin/jarsigner "-sigalg" "MD5withRSA" "-digestalg" "SHA1" "-keystore" "/Users/admin/Library/Application Support/Titanium/mobilesdk/osx/3.5.0/android/dev_keystore" "-storepass" "*******" "-signedjar" "/Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/android/bin/TestSuite.apk" "/Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/android/bin/app-unsigned.apk" "tidev" [INFO] Aligning zip file: /android-sdk/build-tools/20.0.0/zipalign "-v" "4" "/Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/android/bin/TestSuite.apk" "/Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/android/bin/TestSuite.apkz" [INFO] Writing build manifest: /Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/android/build-manifest.json /Users/admin/repos/titanium_skypanther/node_modules/longjohn/dist/longjohn.js:185 throw e; ^ Socket.socketErrorListener (_http_client.js:268:42),Socket.emit (events.js:107:17),net.js:436:14,process._tickCallback (node.js:372:11) {code} And mobileweb builds fail with {code} [DEBUG] Analyzing /Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/mobileweb/titanium/Ti.js [DEBUG] Analyzing /Users/admin/Documents/Titanium_Studio_Workspace/TestSuite/build/mobileweb/titanium.js [INFO] Creating the filesystem registry [INFO] Creating the index.html /Users/admin/repos/titanium_skypanther/node_modules/longjohn/dist/longjohn.js:185 throw e; ^ Socket.socketErrorListener (_http_client.js:268:42),Socket.emit (events.js:107:17),net.js:436:14,process._tickCallback (node.js:372:11) {code}
Story points: 13