{ "id": "159865", "key": "TIMOB-23285", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-17T07:20:42.000+0000", "created": "2016-04-28T00:21:13.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" }, { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [ { "id": "52272", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "162129", "key": "CLI-1056", "fields": { "summary": "\"Path must be a string. Received undefined\" error is thrown if you build to Android using Node 6.X.X strictly with Appc CLI", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51594", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159864", "key": "CLI-999", "fields": { "summary": "\"(node:19181) fs: re-evaluating native module sources is not supported.\" message appears when you run \"appc new\" with Node 6", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2016-07-26T22:29:35.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": [ { "id": "10207", "name": "Tooling" } ], "description": "h5.Steps to reproduce:\r\n1. Install node 6.0 & use components mentioned in the environment.\r\n2. Using studio build an android or ios app to device & emulator/simulator.\r\n\r\nh5.Actual Results:\r\n1. The build fails with logs below:\r\n{code}\r\nAppcelerator Command-Line Interface, version 5.2.2\r\nCopyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.\r\n2016-04-27T23:27:59.471Z | TRACE | set environment to {\"registry\":\"https://software.appcelerator.com\",\"security\":\"https://security.appcelerator.com\",\"baseurl\":\"https://platform.appcelerator.com\"}\r\n2016-04-27T23:27:59.472Z | TRACE | checking credentials for existing session\r\n2016-04-27T23:27:59.616Z | TRACE | Attempting to load session info from config file\r\n2016-04-27T23:27:59.621Z | TRACE | check if session is invalidated\r\n2016-04-27T23:27:59.830Z | TRACE | session expiry 1462220900328 false\r\n2016-04-27T23:27:59.831Z | TRACE | Arrow Cloud config file: /Users/lokeshchoudhary/.acs\r\n2016-04-27T23:27:59.846Z | TRACE | found Arrow Cloud login { mid: 'bef35912719c03b47a3f16fecf654742a42d9010',\r\n publishPort: 443,\r\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n username: 'lchoudhary@appcelerator.com',\r\n cookie: [ 'connect.sid=s%3AgQRieH8zJPK4EVZBWJ9Z%2BpU2.y8Xd0GfPjSJdSUoAlU0RUVV0FHFmVcNmhKeOapJjqac; Path=/; Expires=Mon, 09 May 2016 20:28:22 GMT; HttpOnly' ],\r\n defaultEP: \r\n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\r\n2016-04-27T23:27:59.847Z | TRACE | Arrow Cloud cookie expiry [ 1462825702000 ]\r\n2016-04-27T23:27:59.847Z | TRACE | session already loaded in opts.session\r\n2016-04-27T23:27:59.848Z | TRACE | getCredentials() session:\r\n{\r\n \"ipaddress\": \"10.0.12.110\",\r\n \"username\": \"lchoudhary@appcelerator.com\",\r\n \"password\": \"\",\r\n \"session\": \"\",\r\n \"nonce\": \"\",\r\n \"environment\": {\r\n \"name\": \"production\",\r\n \"isProduction\": true,\r\n \"acsBaseUrl\": \"https://api.cloud.appcelerator.com\",\r\n \"acsAuthBaseUrl\": \"https://secure-identity.cloud.appcelerator.com\",\r\n \"nodeACSEndpoint\": \"https://admin.cloudapp-enterprise.appcelerator.com\"\r\n },\r\n \"token\": \"\",\r\n \"fingerprint\": \"bef35912719c03b47a3f16fecf654742a42d9010\",\r\n \"fingerprint_description\": \"Mac OSX Serial Number: C02J54GWDV35\",\r\n \"org_id\": 100000675,\r\n \"expiry\": 1462220900328\r\n}\r\n2016-04-27T23:27:59.849Z | TRACE | loading plugins for command \"run\"\r\n2016-04-27T23:27:59.899Z | TRACE | run search paths:\r\n[\r\n \"/Users/lokeshchoudhary/.appcelerator/install/5.2.2/package\",\r\n \"/Users/lokeshchoudhary/.appcelerator/install/5.2.2/package/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules\",\r\n \"/Applications/Appcelerator Studio/node_modules\",\r\n \"/Applications/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/lokeshchoudhary/.appcelerator/.npm/lib/node_modules\"\r\n]\r\n2016-04-27T23:27:59.900Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/lokeshchoudhary/.appcelerator/install/5.2.2/package/appc.js\r\n(node:70951) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\r\n2016-04-27T23:28:00.009Z | DEBUG | [PLUGIN-LOAD] 108ms /Users/lokeshchoudhary/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium/appc.js\r\n2016-04-27T23:28:00.010Z | DEBUG | run plugin: /Users/lokeshchoudhary/.appcelerator/install/5.2.2/package/node_modules/appc-cli-titanium\r\n2016-04-27T23:28:00.014Z | DEBUG | [PLUGIN-LOAD] 1ms /Users/lokeshchoudhary/.appcelerator/install/5.2.2/package/node_modules/arrow/appc.js\r\n2016-04-27T23:28:00.017Z | DEBUG | run plugin: /Users/lokeshchoudhary/.appcelerator/install/5.2.2/package/node_modules/arrow\r\n2016-04-27T23:28:00.020Z | TRACE | plugin \"arrow\" failed its \"when\" function check, skipping...\r\n2016-04-27T23:28:00.021Z | TRACE | loading plugin \"titanium\" for command \"run\" CLI options via function\r\n2016-04-27T23:28:00.023Z | TRACE | loading plugin \"titanium\" for command \"run\" CLI options via array\r\n2016-04-27T23:28:00.025Z | TRACE | executing command \"run\" with the following plugins:\r\n[\"titanium\"]\r\n2016-04-27T23:28:00.026Z | TRACE | Attempting to load session info from config file\r\n2016-04-27T23:28:00.027Z | TRACE | check if session is invalidated\r\n2016-04-27T23:28:00.144Z | TRACE | session expiry 1462220900328 false\r\n2016-04-27T23:28:00.144Z | TRACE | session already loaded in opts.session\r\n2016-04-27T23:28:00.146Z | DEBUG | Titanium Downloads Last Checked: 1461798168878\r\n2016-04-27T23:28:00.294Z | TRACE | No project alloy hook; skipping update to 1.0.0\r\n2016-04-27T23:28:01.228Z | ERROR | An uncaught exception was thrown!\r\nCannot read property 'devices' of undefined\r\n2016-04-27T23:28:01.229Z | ERROR | Cannot read property 'devices' of undefined\r\n2016-04-27T23:28:01.229Z | TRACE | TypeError: Cannot read property 'devices' of undefined\r\n at iOSBuilder. (/Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/iphone/cli/commands/_build.js:298:11)\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/index.js:115:12\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:721:13\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:52:16\r\n at done (/Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:241:17)\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:44:16\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:718:17\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:167:37\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/index.js:85:6\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/lib/device.js:51:12\r\n{code}\r\n2. Same issue is seen with latest components & SDK.\r\n\r\nh5.Expected Results:\r\n1. The build should not fail.", "attachment": [], "flagged": false, "summary": "Unable to build for Android and iOS using node 6.0 with 5.2.2.GA & latest 5.3.0 components", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.6.0.201604200942\r\nTi SDK : 5.2.2.GA, 5.3.0.v20160427142832\r\nTi CLI : 5.0.8, 5.0.6\r\nAlloy : 1.8.7, 1.8.5\r\nMAC El Capitan : 10.11.4\r\nAppc NPM : 4.2.5-3, 4.2.4\r\nAppc CLI : 5.3.0-36, 5.2.2\r\nNode: 4.2.2\r\nNexus 6P - Android 6.0.1", "closedSprints": [ { "id": 628, "state": "closed", "name": "2016 Sprint 10 Tooling", "startDate": "2016-05-07T00:55:11.479Z", "endDate": "2016-05-21T00:55:00.000Z", "completeDate": "2016-05-23T02:09:17.953Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "384722", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "{{node-ios-device@0.9.5}} should probably fix this issue.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-05-04T14:08:27.000+0000", "updated": "2016-05-16T13:50:49.000+0000" }, { "id": "385815", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/8001\r\n\r\nTo test, install Node.js 6.0 or 6.1, then run {{ti info -t ios}} with and without a device connected. Then build an app for the iOS device and it should install and stream the system log.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-05-16T19:13:48.000+0000", "updated": "2016-05-16T19:13:48.000+0000" }, { "id": "385875", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-05-17T07:20:42.000+0000", "updated": "2016-05-17T07:20:42.000+0000" }, { "id": "391562", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed *for iOS.* Verified that I am able to build and install an app to an iOS device/simulator while using node 6.3.1. *However,* I am getting a {{ERROR | Path must be a string. Received undefined}} when I build and install to an Android device/emulator; strictly from Appc CLI. Will file a separate ticket for the new Android issue.\r\n\r\nTested on:\r\n\r\nAppc CLI NPM: 4.2.7\r\nAppc CLI Core: 5.4.0-35\r\nArrow: 1.8.2\r\nSDK: 5.4.0.v20160725003348\r\nNode: v6.3.1\r\nOS: Mac OS X (10.11.6)\r\nXcode: 7.3.1\r\nDevice: iphone 6 plus (9.1), iphone 6s simulator (9.3)\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-07-26T21:58:54.000+0000", "updated": "2016-07-26T21:58:54.000+0000" }, { "id": "391564", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~wluu] is there a ticket for the Android issue? There's been an issue on Github for a couple weeks that I'd like to close with a link to a Jira ticket: https://github.com/appcelerator/titanium/issues/248.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-07-26T22:04:37.000+0000", "updated": "2016-07-26T22:04:37.000+0000" }, { "id": "391568", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber], CLI-1056. One thing to note is that I wasn't able to reproduce the issue with Titanium and Alloy CLIs independently. This issue seems strictly with Appc CLI.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-07-26T22:29:35.000+0000", "updated": "2016-07-26T22:29:35.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }