{ "id": "173073", "key": "TIMOB-26869", "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": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-03-04T11:51:20.000+0000", "created": "2019-02-28T14:21:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2019-03-04T11:51:20.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": "h5.Description\r\n\r\nThe android build currently errors with the below, this is because it's trying to look for a dependency of the app used for polyfilling which was removed\r\n\r\n{code}\r\n[LiveView] { Error: Cannot find module '@babel/polyfill/package.json'\r\n at Function.Module._resolveFilename (module.js:548:15)\r\n at Function.resolve (internal/module.js:18:19)\r\n at unmarkPackageAndDependencies (/Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/android/cli/commands/_build.js:2824:33)\r\n at AndroidBuilder. (/Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/android/cli/commands/_build.js:2840:5)\r\n at /Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/node-appc/lib/async.js:82:6\r\n at /Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:3888:9\r\n at /Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:473:16\r\n at replenish (/Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:1006:25)\r\n at iterateeCallback (/Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:995:17)\r\n at /Users/Josh/Library/Application Support/Titanium/mobilesdk/osx/8.1.0/node_modules/async/dist/async.js:969:16 code: 'MODULE_NOT_FOUND' }\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Build for Android\r\n\r\nh5.Actual\r\n\r\nAbove error\r\n\r\nh5.Expected\r\n\r\nNo error", "attachment": [], "flagged": false, "summary": "CLI: Android build fails with cannot find module error", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "closedSprints": [ { "id": 1118, "state": "closed", "name": "2019 Sprint 5", "startDate": "2019-02-24T18:36:06.435Z", "endDate": "2019-03-08T18:36:00.000Z", "completeDate": "2019-03-07T22:19:47.057Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "446398", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/10735", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-02-28T14:28:05.000+0000", "updated": "2019-02-28T14:28:05.000+0000" }, { "id": "446481", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, fix verified SDK version {{8.1.0.v20190301155716}}.\r\n\r\n*Test steps*\r\nRan a titanium application through CLI using the Liveview flag and no error was seen (Android).\r\n\r\n*Test Environment* \r\n{code:java}\r\nSDK 8.1.0.v20190301155716\r\nGoogle pixel xl 7.1 Sim\r\nAPPC CLI: 7.0.10-17\r\nOperating System Name: Mac OS Mojave\r\nOperating System Version: 10.14.2\r\nNode.js Version: 8.9.1\r\nXcode 10.1\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-04T11:51:07.000+0000", "updated": "2019-03-04T11:51:07.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }