Project: titanium
Issue TIMOB-19095: Windows: Build using 4.1.0.Beta fails on Windows 10 Pro Insider Preview
I had been running various earlier master versions of the Titanium CLI and SDK and simply updating the Appcelerator CLI failed for me somehow. So I did a clean install, which worked fine. But builds do not: {code} PS C:\Users\fokkezb\dev\Toolbar> cmd /C "set DEBUG=* && appc run -p windows -C 8-1-1 -G de5251c1-8604-4a4a-aa69-9f6d7436 c7d3 -l trace" appc:bin install bin is 'C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package\\bin\\appc' +0ms appc:bin main subcommand run +15ms appc:run run with env={"ALLUSERSPROFILE":"C:\\ProgramData","APPC_CONFIG_PROXY":"","APPC_INSTALL_BIN_DIR":"C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package\\bin\\appc","APPC_INSTALL_DIR":"C:\\Users\\fokkezb\\.appcelerator\\install","APPDATA":"C:\\Users\\fokkezb\\AppData\\Roaming","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","COMPUTERNAME":"FOKKEZANDBE3F01","ComSpec":"C:\\WINDOWS\\system32\\cmd.exe","DEBUG":"* ","FPS_BROWSER_APP_PROFILE_STRING":"Internet Explorer","FPS_BROWSER_USER_PROFILE_STRING":"Default","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\fokkezb","LOCALAPPDATA":"C:\\Users\\fokkezb\\AppData\\Local","LOGONSERVER":"\\\\FOKKEZANDBE3F01","NODE_PATH":"C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package\\node_modules;C:\\Users\\fokkezb\\.appcelerator\\cache\\node_modules;","NPM_APPC_VERSION":"4.0.1","npm_config_cache":"C:\\Users\\fokkezb\\.appcelerator\\.npm","npm_config_prefix":"C:\\Users\\fokkezb\\.appcelerator\\.npm","NUMBER_OF_PROCESSORS":"2","OS":"Windows_NT","Path":"C:\\Program Files (x86)\\Parallels\\Parallels Tools\\Applications;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SDKs\\TypeScript\\1.0\\;C:\\Program Files\\nodejs\\;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\CMake\\bin;C:\\Program Files\\Java\\jdk1.8.0_45\\bin;C:\\Users\\fokkezb\\AppData\\Roaming\\npm","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC;.CPL","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 69 Stepping 1, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"4501","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","PROMPT":"$P$G","PSModulePath":"\\\\psf\\Home\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\","PUBLIC":"C:\\Users\\Public","SESSIONNAME":"Console","SystemDrive":"C:","SystemRoot":"C:\\WINDOWS","TEMP":"C:\\Users\\fokkezb\\AppData\\Local\\Temp","TMP":"C:\\Users\\fokkezb\\AppData\\Local\\Temp","USERDOMAIN":"FOKKEZANDBE3F01","USERDOMAIN_ROAMINGPROFILE":"FOKKEZANDBE3F01","USERNAME":"fokkezb","USERPROFILE":"C:\\Users\\fokkezb","VS110COMNTOOLS":"C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\","VS120COMNTOOLS":"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\Tools\\","windir":"C:\\WINDOWS"}, args=[ 'C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package\\bin\\appc', 'run', '-p', 'windows', '-C', '8-1-1', '-G', 'de5251c1-8604-4a4a-aa69-9f6d7436c7d3', '-l', 'trace' ] +0ms Appcelerator Command-Line Interface, version 4.0.2 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. appc:sdk set production to https://platform.appcelerator.com +0ms TRACE | __command__ search paths: [ "C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package", "C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package\\node_modules", "C:\\Users\\fokkezb\\dev\\Toolbar\\plugins", "C:\\Users\\fokkezb\\dev\\Toolbar\\node_modules", "C:\\Users\\fokkezb\\dev\\node_modules", "C:\\Users\\fokkezb\\node_modules", "C:\\Users\\node_modules", "C:\\node_modules", "C:\\Users\\fokkezb\\.appcelerator\\.npm\\lib\\node_modules" ] DEBUG | [PLUGIN-LOAD] 0ms C:\Users\fokkezb\.appcelerator\install\4.0.2\package\appc.js DEBUG | [PLUGIN-LOAD] 563ms C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\appc-cli-titanium\appc.js DEBUG | [PLUGIN-LOAD] 0ms C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\arrow\appc.js appc:sdk set production to https://platform.appcelerator.com +0ms log level set to "trace" executing command "run" appc:sdk set production to https://platform.appcelerator.com +407ms set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} checking credentials for existing session Attempting to load session info from config file check if session is invalidated appc:sdk api response, err=null, body='{"success":true,"result":{"_id":"550711082199a5993364ae06","user_id":1800963,"guid":"dcc5edb6-732f-40a8-9117-4c77081f89a3","openid":"0a4f665c-4538-41cd-8f18-15ecc7e29a63","firstname":"Fokke","lastname":"Zandbergen","username":"fzandbergen@appcelerator.com","email":"fzandbergen@appcelerator.com","is_staff":false,"org_id":100039086}}' +1s session expiry 1435600297973 false ACS config file: C:\Users\fokkezb\.acs found ACS login { mid: '00-1C-42-59-19-E3', username: 'fzandbergen@appcelerator.com', cookie: [ 'connect.sid=s%3A4sH8TtAVYm1uxjfmvt6Ed7oh.7HTA6VlmoKq%2FLEgMqZleTy8SZvoPmfi%2Fdah9XMFEQME; Path=/; Expires=Mon, 29 Jun 2015 17:51:02 GMT; HttpOnly' ], publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com ACS cookie expiry [ 1435600262000 ] session already loaded in opts.session getCredentials() session: { "ipaddress": "10.211.55.4", "username": "fzandbergen@appcelerator.com", "password": "", "session": "", "nonce": "", "environment": { "name": "production", "isProduction": true, "acsBaseUrl": "https://api.cloud.appcelerator.com", "acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com", "nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com" }, "token": "", "fingerprint": "aa06aae86eec5b36d4fd30084594fcd96506cbfb", "fingerprint_description": "Windows Machine ID: 6f923c41-5338-461a-b797-090a1eafe544", "org_id": 100039086, "expiry": 1435600297973 } loading plugins for command "run" run search paths: [ "C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package", "C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package\\node_modules", "C:\\Users\\fokkezb\\dev\\Toolbar\\plugins", "C:\\Users\\fokkezb\\dev\\Toolbar\\node_modules", "C:\\Users\\fokkezb\\dev\\node_modules", "C:\\Users\\fokkezb\\node_modules", "C:\\Users\\node_modules", "C:\\node_modules", "C:\\Users\\fokkezb\\.appcelerator\\.npm\\lib\\node_modules" ] [PLUGIN-LOAD] 0ms C:\Users\fokkezb\.appcelerator\install\4.0.2\package\appc.js [PLUGIN-LOAD] 281ms C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\appc-cli-titanium\appc.js run plugin: C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\appc-cli-titanium [PLUGIN-LOAD] 0ms C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\arrow\appc.js run plugin: C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\arrow plugin "arrow" failed its "when" function check, skipping... loading plugin "titanium" for command "run" CLI options via function loading plugin "titanium" for command "run" CLI options via array Duplicate option "colors" for command "run", removing... executing command "run" with the following plugins: ["titanium"] TRACE | Attempting to load session info from config file TRACE | check if session is invalidated appc:sdk api response, err=null, body='{"success":true,"result":{"_id":"550711082199a5993364ae06","user_id":1800963,"g uid":"dcc5edb6-732f-40a8-9117-4c77081f89a3","openid":"0a4f665c-4538-41cd-8f18-15ecc7e29a63","firstname":"Fokke","lastname":"Zandbergen","username":"fzandbergen@appcelerator.com","email":"fzandbergen@appcelerator.com","is_staff":false,"org_id":100039086}}' +1s TRACE | session expiry 1435600297973 false TRACE | session already loaded in opts.session DEBUG | Titanium Downloads Last Checked: 1435514514244 TRACE | "C:\Program Files\nodejs\node.exe" "C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\appc-cli-titanium\node_modules\titanium\bin\titanium" config -o json-object TRACE | "C:\Program Files\nodejs\node.exe" "C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\appc-cli-titanium\node_modules\titanium\bin\titanium" sdk -o json TRACE | checking for titanium, result: { activeSDK: '4.1.0.v20150626223333', defaultInstallLocation: 'C:\\ProgramData\\Titanium', installLocations: [ 'C:\\ProgramData\\Titanium', 'C:\\Users\\fokkezb\\AppData\\Roaming\\Titanium', 'C:\\ProgramData\\Application Data\\Titanium' ], installed: { '4.1.0.v20150626223333': 'C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.0.v20150626223333', '4.0.0.GA': 'C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.0.0.GA' } } TRACE | C:\Program Files\nodejs\node.exe [ 'C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package\\node_modules\\appc-cli-titanium\\node_modules\\titanium\\bin\\titanium', 'build', '-p', 'windows', '-C', '8-1-1', '-G', 'de5251c1-8604-4a4a-aa69-9f6d7436c7d3', '-l', 'trace', '--plugin-paths', 'C:\\Users\\fokkezb\\.appcelerator\\install\\4.0.2\\package\\node_modules', '--config-file', 'C:\\Users\\fokkezb\\AppData\\Local\\Temp\\build-1435562419440.json', '--no-banner' ] Mon, 29 Jun 2015 07:20:21 GMT appc:sdk set production to https://platform.appcelerator.com C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:184 e.stack; ^ processImmediate [as _immediateCallback] (timers.js:358:17) TRACE | titanium exited with exit code 1 ERROR | Error: ti run exited with error code 1 at ChildProcess. (C:\Users\fokkezb\.appcelerator\install\4.0.2\package\node_modules\appc-cli-titanium\plugins\run.js:84:66) at ChildProcess.emit (events.js:110:17) at Process.ChildProcess._handle.onexit (child_process.js:1074:12) {code} Running it with the Titanium CLI directly gives: {code} PS C:\Users\fokkezb\dev\Toolbar> cmd /C "set DEBUG=* && ti build -p windows -C 8-1-1 -G de5251c1-8604-4a4a-aa69-9f6d7436 c7d3 --log-level trace" Titanium Command-Line Interface, CLI version 4.0.1, Titanium SDK version 4.1.0.v20150626223333 Copyright (c) 2012-2015, Appcelerator, Inc. All Rights Reserved. Please report bugs to http://jira.appcelerator.org/ C:\Users\fokkezb\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:184 e.stack; ^ processImmediate [as _immediateCallback] (timers.js:358:17) {code}
Story points: 3