{ "id": "174248", "key": "TIMOB-27465", "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": "20909", "name": "node-titanium-sdk 3.2.2", "archived": false, "released": true, "releaseDate": "2019-10-11" }, { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-10-30T18:01:29.000+0000", "created": "2019-10-11T12:54:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "engSchedule" ], "versions": [], "issuelinks": [ { "id": "57859", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "172122", "key": "TIMOB-26333", "fields": { "summary": "Generate source maps for transpiled code", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2019-10-30T18:01:29.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "When including ti.superagent commons module in a project with SDK 8.2.1 and CLI 7.1.1, it reports a failure during app build:\r\n{code}\r\n[INFO] Processing JavaScript files\r\n(node:6745) UnhandledPromiseRejectionWarning: TypeError: trace_error.stack[1].getFunctionName is not a function\r\n at process.emitWarning (internal/process/warning.js:146:18)\r\n at showFlaggedDeprecation (buffer.js:159:11)\r\n at new Buffer (buffer.js:174:3)\r\n at Array. (/Users/jquick2/.appcelerator/install/7.1.1/package/node_modules/source-map-support/source-map-support.js:149:21)\r\n at /Users/jquick2/.appcelerator/install/7.1.1/package/node_modules/source-map-support/source-map-support.js:53:24\r\n at mapSourcePosition (/Users/jquick2/.appcelerator/install/7.1.1/package/node_modules/source-map-support/source-map-support.js:171:21)\r\n at Object.wrapCallSite (/Users/jquick2/.appcelerator/install/7.1.1/package/node_modules/source-map-support/source-map-support.js:343:20)\r\n(node:6745) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)\r\n(node:6745) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Fails to build app when including ti.superagent commonjs module", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1169, "state": "closed", "name": "2019 Sprint 22", "startDate": "2019-10-21T15:38:21.747Z", "endDate": "2019-11-03T15:38:00.000Z", "completeDate": "2019-11-04T18:36:57.022Z", "originBoardId": 114 }, { "id": 1168, "state": "closed", "name": "2019 Sprint 21", "startDate": "2019-10-07T18:35:57.052Z", "endDate": "2019-10-20T18:35:00.000Z", "completeDate": "2019-10-21T15:38:00.182Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "451980", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "This is a result of the single JS file in that module having a sourceMappingURL comment at the end of the file pointing at a mapping file not included in the module.\r\n\r\nnode-titanium-sdk does not properly handle when the sourceMappingURL points at an invalid file (i.e. it doesn't exist or fails to load as JSON).", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-10-11T12:55:48.000+0000", "updated": "2019-10-11T12:55:48.000+0000" }, { "id": "451981", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/node-titanium-sdk/pull/123", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-10-11T12:58:54.000+0000", "updated": "2019-10-11T12:58:54.000+0000" }, { "id": "451985", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "node-titanium-sdk PR merged, needs bumped in the SDK", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-10-11T14:17:17.000+0000", "updated": "2019-10-11T14:17:17.000+0000" }, { "id": "451988", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "SDK PR: https://github.com/appcelerator/titanium_mobile/pull/11276", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-10-11T14:55:30.000+0000", "updated": "2019-10-11T14:55:30.000+0000" }, { "id": "452025", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "To test:\r\n\r\nMust be a classic project, ti.superagent can be got from the zip at https://github.com/appcelerator-modules/ti.superagent/releases/tag/v0.1.0.\r\n\r\nExtract the project and add it to the Resources directory of a classic app and then build the app", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-10-14T10:38:42.000+0000", "updated": "2019-10-14T10:38:42.000+0000" }, { "id": "452040", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. The app with ti.superagent module build successfully on android and iOS.\r\nWaiting on Jenkins build", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-14T19:09:27.000+0000", "updated": "2019-10-14T19:09:27.000+0000" }, { "id": "452169", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-10-21T19:27:09.000+0000", "updated": "2019-10-21T19:27:09.000+0000" }, { "id": "452382", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified On:\r\nMac OS: 10.14.5\r\nSDK: 8.3.0.v20191030085531\r\nAppc CLI: 7.1.1\r\nJDK: 1.8.0_162\r\nNode: 10.5.0\r\nStudio: 5.1.4.201909061933\r\nXcode: 11.1", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-30T18:01:29.000+0000", "updated": "2019-10-30T18:01:29.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }