{ "id": "155949", "key": "AC-3407", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-25T17:05:45.000+0000", "created": "2016-03-24T13:29:05.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-25T17:06:26.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. Steps to Reproduce\nI am executing any project on my appcelerator studio with the same result. This just started happening. I was attempting to load modules into appcelerator, not sure if I accidently moved some important file or something. Because I get this same result no matter what project I execute I assume I have something wrong with my js or something?\n\nh3. Actual Result\nonce execution begins it prints some things out to console, then just stops with no error and my app does not run:\n\nAppcelerator Command-Line Interface, version 5.2.0\nCopyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.\n2016-03-24T13:22:22.365Z | TRACE | set environment to {'registry':'https://software.appcelerator.com','security':'https://security.appcelerator.com','baseurl':'https://platform.appcelerator.com'}\n2016-03-24T13:22:22.367Z | TRACE | checking credentials for existing session\n2016-03-24T13:22:22.550Z | TRACE | Attempting to load session info from config file\n2016-03-24T13:22:22.555Z | TRACE | check if session is invalidated\n2016-03-24T13:22:22.977Z | TRACE | session expiry 1459257614875 false\n2016-03-24T13:22:22.978Z | TRACE | Arrow Cloud config file: /Users/michael.kellogg/.acs\n2016-03-24T13:22:22.980Z | TRACE | found Arrow Cloud login { mid: 'c15e9f83b8d824452e443bb96ca8076ba897d3ab',\n publishPort: 443,\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\n username: 'mkellogg91@gmail.com',\n cookie: [ 'connect.sid=s%3A8lHSfAts5LsxQbfTpqzzX%2B6t.zrO2ABEKS8frttymuCHL2FmUfATz2BExqV7%2BY1%2FgGE8; Path=/; Expires=Tue, 05 Apr 2016 13:20:17 GMT; HttpOnly' ],\n defaultEP: \n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\n2016-03-24T13:22:22.981Z | TRACE | Arrow Cloud cookie expiry [ 1459862417000 ]\n2016-03-24T13:22:22.981Z | TRACE | session already loaded in opts.session\n2016-03-24T13:22:22.983Z | TRACE | getCredentials() session:\n{\n 'ipaddress': '192.168.1.151',\n 'username': 'mkellogg91@gmail.com',\n 'password': '',\n 'session': '',\n 'nonce': '',\n 'environment': {\n 'name': 'production',\n 'isProduction': true,\n 'acsBaseUrl': 'https://api.cloud.appcelerator.com',\n 'acsAuthBaseUrl': 'https://secure-identity.cloud.appcelerator.com',\n 'nodeACSEndpoint': 'https://admin.cloudapp-enterprise.appcelerator.com'\n },\n 'token': '',\n 'fingerprint': 'c15e9f83b8d824452e443bb96ca8076ba897d3ab',\n 'fingerprint_description': 'Mac OSX Serial Number: C02Q60S1G8WL',\n 'org_id': 100094648,\n 'expiry': 1459257614875\n}\n2016-03-24T13:22:22.983Z | TRACE | loading plugins for command 'run'\n2016-03-24T13:22:23.014Z | TRACE | run search paths:\n[\n '/Users/michael.kellogg/.appcelerator/install/5.2.0/package',\n '/Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules',\n '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules',\n '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules',\n '/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules',\n '/Applications/Appcelerator Studio/node_modules',\n '/Applications/node_modules',\n '/node_modules',\n '/Users/michael.kellogg/.appcelerator/.npm/lib/node_modules'\n]\n2016-03-24T13:22:23.015Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/michael.kellogg/.appcelerator/install/5.2.0/package/appc.js\n2016-03-24T13:22:23.097Z | DEBUG | [PLUGIN-LOAD] 81ms /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/appc-cli-titanium/appc.js\n2016-03-24T13:22:23.098Z | DEBUG | run plugin: /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/appc-cli-titanium\n2016-03-24T13:22:23.100Z | DEBUG | [PLUGIN-LOAD] 1ms /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/arrow/appc.js\n2016-03-24T13:22:23.103Z | DEBUG | run plugin: /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/arrow\n2016-03-24T13:22:23.106Z | TRACE | plugin 'arrow' failed its 'when' function check, skipping...\n2016-03-24T13:22:23.107Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via function\n2016-03-24T13:22:23.108Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via array\n2016-03-24T13:22:23.111Z | TRACE | executing command 'run' with the following plugins:\n['titanium']\n2016-03-24T13:22:23.113Z | TRACE | Attempting to load session info from config file\n2016-03-24T13:22:23.114Z | TRACE | check if session is invalidated\n2016-03-24T13:22:23.448Z | TRACE | session expiry 1459257614875 false\n2016-03-24T13:22:23.449Z | TRACE | session already loaded in opts.session\n2016-03-24T13:22:23.450Z | DEBUG | Titanium Downloads Last Checked: 1458746656480\n3/24/2016, 9:22:25 AM\nOperating System\n Name = Mac OS X\n Version = 10.10.5\n Architecture = 64bit\n # CPUs = 8\n Memory = 17179869184\nNode.js\n Node.js Version = 0.12.10\n npm Version = 2.14.9\nTitanium CLI\n CLI Version = 5.0.6\nTitanium SDK\n SDK Version = 5.1.2.GA\n SDK Path = /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA\n Target Platform = iphone\nCommand\n /usr/local/bin/node /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/titanium/lib/titanium.js build run --platform ios --log-level trace --sdk 5.1.2.GA --project-dir /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/K2M_App --target simulator --ios-version 9.2 --device-family universal --deploy-type development --sim-type ipad --sim-version 9.2 --device-id CD2810D2-341D-463B-98F2-15F7D09F0D92 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 49437 --config-file /var/folders/9t/5wy55nd50sjc91s_lnny1pn178qlrm/T/build-1458825743449.json --no-banner --project-dir /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/K2M_App\n\n\nh3. Expected Result\nfor project to execute", "attachment": [ { "id": "58704", "filename": ".log", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-24T13:29:11.000+0000", "size": 3444491, "mimeType": "text/plain" }, { "id": "58710", "filename": "commandLine_results.txt", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-24T15:36:26.000+0000", "size": 4552, "mimeType": "text/plain" }, { "id": "58706", "filename": "consolelog", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-24T13:29:21.000+0000", "size": 5613, "mimeType": "text/html" }, { "id": "58709", "filename": "consolelog_after_reinstall.txt", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-24T15:36:26.000+0000", "size": 5611, "mimeType": "text/plain" }, { "id": "58705", "filename": "diagnostic8105332854290441723.log", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-24T13:29:20.000+0000", "size": 67121, "mimeType": "text/plain" } ], "flagged": false, "summary": "Apps stop on start with no error message *solved*", "creator": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "380604", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "body": "Forgot to mention I took these actions to attempt to fix the problem:\r\n\r\n1. deleted build folders and re-built\r\n2. cleaned all projects\r\n3. restarted adb service\r\n4. restarted appcelerator\r\n5. restarted my machine\r\n6. attempted to run on both iOS simulator and Android emulator\r\n\r\nIs nodejs messed up or something?", "updateAuthor": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-24T13:34:33.000+0000", "updated": "2016-03-24T13:34:33.000+0000" }, { "id": "380609", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nPlease run the following command in the terminal.\r\n\r\nsudo rm -rf ~/.appcelerator\r\nsudo rm -rf ~/.titanium\r\nsudo npm uninstall -g titanium\r\nsudo npm uninstall -g appcelerator\r\nsudo npm install -g appcelerator\r\nappc use latest\r\nappc setup\r\n\r\nStart studio and try creating a new project try building it in Android or iOS. Reply with your findings, Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-24T15:18:30.000+0000", "updated": "2016-03-24T15:18:30.000+0000" }, { "id": "380611", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "body": "sharif,\r\n\r\nI have included \"commandLine_results.txt\" which is the log when I entered the commands you told me to\r\nand I have included \"consolelog_after_reinstall.txt\" which is the console log produced when I attempted to execute a new project after reinstall, which as you can see is the same as before.\r\n\r\nNOTES:\r\n- upon reinstall all my previous projects were still there since I used the same folder for projects after reinstalling, don't know if this is a problem\r\n-I'm not familiar with macOSX that well yet so I'm not sure if the uninstall needs to get rid of everything to be successful, maybe you can tell by the commandLine_results log.\r\n\r\nThank you for your support!", "updateAuthor": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-24T15:40:22.000+0000", "updated": "2016-03-24T15:40:22.000+0000" }, { "id": "380701", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "body": "I have resolved this issue.\r\n\r\nFor future reference for you guys I will tell you what fixed it for me. I had been using gittio in order to download and connect modules up to my projects. I'm not sure which one had broken appcelerator for me, but once I removed these modules from my Library -> Application Support -> Titanium -> Modules folder appcelerator was able to execute projects again normally.\r\n\r\nIf you see issues like this in the future maybe check if the user has recently installed modules.\r\n\r\nThanks for your support guys.", "updateAuthor": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-25T16:14:38.000+0000", "updated": "2016-03-25T16:14:38.000+0000" }, { "id": "380705", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Thanks for letting us know. Closing the ticket. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-25T17:06:26.000+0000", "updated": "2016-03-25T17:06:26.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }