{ "id": "175658", "key": "TIMOB-28205", "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": "21177", "name": "Release 9.3.1", "archived": false, "released": true, "releaseDate": "2021-01-26" }, { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "resolution": null, "resolutiondate": null, "created": "2020-10-19T16:55:33.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2021-01-11T23:40:49.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5. Steps to reproduce:\r\n1. Create an angular app.\r\n2. Try to package it for android & ios via CLI or after importing it to studio.\r\n\r\nh5.Actual result:\r\n1. Packaging fails with:\r\n{code}\r\n[INFO] : WEBPACK WAIT Compiling ...\r\n[INFO] : WEBPACK ERROR Failed to compile with 1 errors2:49:02 PM\r\n[INFO] : WEBPACK \r\n[INFO] : WEBPACK error in /Users/lchoudhary/Desktop/angtest2/src/main.aot.ts\r\n[INFO] : WEBPACK Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):\r\n[INFO] : WEBPACK Error: /Users/lchoudhary/Desktop/angtest2/src/main.aot.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.\r\n[INFO] : WEBPACK at TitaniumAngularCompilerPlugin.getCompiledFile (/Users/lchoudhary/Desktop/angtest2/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:933:23)\r\n[INFO] : WEBPACK at plugin.done.then (/Users/lchoudhary/Desktop/angtest2/node_modules/@ngtools/webpack/src/loader.js:41:31)\r\n[INFO] : WEBPACK at process._tickCallback (internal/process/next_tick.js:68:7)\r\n[INFO] : WEBPACK \r\n[INFO] : WEBPACK @ multi ./src/main.aot.ts\r\n[ERROR] : Error: Webpack compilation failed.\r\n at WebpackService.handler (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/9.2.2.v20201015143748/cli/lib/webpack/service.js:240:20)\r\n at WebpackService.emit (events.js:210:5)\r\n at Subscription. (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/9.2.2.v20201015143748/cli/lib/webpack/service.js:287:10)\r\n at Subscription.emit (events.js:210:5)\r\n at EventEmitter. (/Users/lchoudhary/Library/Application Support/Titanium/mobilesdk/osx/9.2.2.v20201015143748/cli/lib/webpack/appcd.js:50:19)\r\n at EventEmitter.emit (events.js:210:5)\r\n at Object.handler (/Users/lchoudhary/.appcelerator/install/8.1.1/package/node_modules/appcd-client/dist/client.js:313:19)\r\n at WebSocket. (/Users/lchoudhary/.appcelerator/install/8.1.1/package/node_modules/appcd-client/dist/client.js:126:31)\r\n at WebSocket.emit (events.js:210:5)\r\n at Receiver.receiverOnMessage (/Users/lchoudhary/.appcelerator/install/8.1.1/package/node_modules/appcd-client/node_modules/ws/lib/websocket.js:800:20)\r\n{code}\r\n\r\nh5.Expected result:\r\n1. The app is packaged successfully.", "attachment": [], "flagged": false, "summary": "Angular: packaging an angular app fails", "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": "Studio Ver: 6.0.0.202005141803\r\nSDK Ver: 9.2.2.v20201015143748\r\nOS Ver: 10.15.5\r\nXcode Ver: Xcode 12.0.1\r\nAppc NPM: 5.0.0\r\nAppc CLI: 8.1.1\r\nDaemon Ver: 3.2.0\r\nTi CLI Ver: 5.2.5\r\nAlloy Ver: 1.15.2\r\nNode Ver: 12.13.1\r\nNPM Ver: 6.14.7\r\nJava Ver: 11.0.6\r\n", "closedSprints": [ { "id": 1209, "state": "closed", "name": "2020 Sprint 22", "startDate": "2020-10-27T02:33:00.000Z", "endDate": "2020-11-07T02:33:00.000Z", "completeDate": "2020-11-06T17:45:42.610Z", "originBoardId": 114 }, { "id": 1210, "state": "closed", "name": "2020 Sprint 23", "startDate": "2020-11-09T17:49:00.000Z", "endDate": "2020-11-20T17:49:00.000Z", "completeDate": "2020-11-20T17:46:00.641Z", "originBoardId": 114 }, { "id": 1211, "state": "closed", "name": "2020 Sprint 24", "startDate": "2020-11-23T18:12:00.000Z", "endDate": "2020-12-07T18:12:00.000Z", "completeDate": "2020-12-04T22:07:24.313Z", "originBoardId": 114 }, { "id": 1212, "state": "closed", "name": "2020 Sprint 25", "startDate": "2020-12-07T22:11:00.000Z", "endDate": "2020-12-18T22:11:00.000Z", "completeDate": "2020-12-18T16:35:34.544Z", "originBoardId": 114 }, { "id": 1213, "state": "closed", "name": "2020 Sprint 26", "startDate": "2020-12-21T16:40:00.000Z", "endDate": "2021-01-08T16:40:00.000Z", "completeDate": "2021-01-08T17:37:31.799Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "457504", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "webpack-titanium-angular: https://github.com/appcelerator/titanium-webpack-devkit/pull/40\r\nwebpack-plugin-angular: https://github.com/appcelerator/webpack-plugin-angular/pull/26", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-11-12T19:47:53.000+0000", "updated": "2020-11-12T19:47:53.000+0000" }, { "id": "457509", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Another follow up PR to update the Angular template in the SDK will follow after the other packages were successfully updated.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-11-13T10:31:42.000+0000", "updated": "2020-11-13T10:31:42.000+0000" }, { "id": "457516", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Both of those PRs merged. Packages need publishing and the SDK template updating", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-11-16T10:12:04.000+0000", "updated": "2020-11-16T10:12:04.000+0000" }, { "id": "457616", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "SDK template update: https://github.com/appcelerator/titanium_mobile/pull/12268", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-11-17T14:12:41.000+0000", "updated": "2020-11-17T14:12:41.000+0000" }, { "id": "457994", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. \r\nPR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-01-11T23:40:44.000+0000", "updated": "2021-01-11T23:40:44.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }