{ "id": "172960", "key": "TIMOB-26798", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2020-07-29T13:09:10.000+0000", "created": "2019-02-05T15:05:57.000+0000", "epic": { "id": 169677, "key": "TIMOB-25214", "name": "Titanium Angular", "summary": "Build Titanium apps with Angular", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [ { "id": "58256", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "174805", "key": "FRAME-12", "fields": { "summary": "Angular: Support Angular 9", "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": "None", "id": "6" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "58257", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "174804", "key": "TIMOB-27800", "fields": { "summary": "Webpack: Angular plugin", "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": "None", "id": "6" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "58527", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "174930", "key": "TIMOB-27856", "fields": { "summary": "Webpack: Angular project template", "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": "None", "id": "6" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2020-07-29T13:09:10.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": "Hello!\r\nThe *appc new -t app --ng* template is outdated. webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.\r\nSteps : \r\n1. Create a new Angular project: *appc new -t app --ng*\r\n2. Build and run Angular project : *appc run -p android*\r\n\r\n*Error Log*:\r\n{code}\r\nCommand\r\n /Users/Raju/.nvm/versions/node/v10.14.1/bin/node /Users/Raju/.appcelerator/install/7.0.9/package/node_modules/titanium/lib/titanium.js build -p android -T device -C 5200bd89b43b3503 --config-file /var/folders/47/ql8m2gld20g474cjx82w5fdr0000gp/T/build-1549374277920.json --log-level info --no-banner --project-dir /Users/Raju/Desktop/ag/agtwo\r\n\r\n[INFO] Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=test path=/Users/Raju/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.9\r\n[INFO] Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=test path=/Users/Raju/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.11\r\n[INFO] Found Titanium module id=com.appcelerator.apm version=3.1.2 platform=android deploy-type=test path=/Users/Raju/Library/Application Support/Titanium/modules/android/com.appcelerator.apm/3.1.2\r\n[INFO] Deploy type: test\r\n[INFO] Building for target: device\r\n[INFO] Building for device: 5200bd89b43b3503\r\n[INFO] Targeting Android SDK API: 28\r\n[INFO] Building for the following architectures: arm64-v8a, armeabi-v7a, x86\r\n[INFO] Signing with keystore: /Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/7.5.0.GA/android/dev_keystore (tidev)\r\n[INFO] Debugging disabled\r\n[INFO] Profiler disabled\r\n[INFO] Forcing rebuild: /Users/Raju/Desktop/ag/agtwo/build/android/build-manifest.json does not exist\r\n[INFO] Running initial Webpack build\r\n/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/cli.js:231\r\n\t\t\t\tthrow err;\r\n\t\t\t\t^\r\n\r\nError: webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead.\r\n at Object.get [as CommonsChunkPlugin] (/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack/lib/webpack.js:185:10)\r\n at module.exports.env (/Users/Raju/Desktop/ag/agtwo/app/webpack.config.js:67:25)\r\n at handleFunction (/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/prepareOptions.js:21:13)\r\n at prepareOptions (/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/prepareOptions.js:9:5)\r\n at requireConfig (/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/convert-argv.js:118:14)\r\n at /Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/convert-argv.js:124:17\r\n at Array.forEach ()\r\n at module.exports (/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/convert-argv.js:122:15)\r\n at yargs.parse (/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/cli.js:228:39)\r\n at Object.parse (/Users/Raju/Desktop/ag/agtwo/app/node_modules/yargs/yargs.js:567:18)\r\n at /Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/cli.js:206:8\r\n at Object. (/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack-cli/bin/cli.js:500:3)\r\n at Module._compile (internal/modules/cjs/loader.js:688:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)\r\n at Module.load (internal/modules/cjs/loader.js:598:32)\r\n at tryModuleLoad (internal/modules/cjs/loader.js:537:12)\r\n at Function.Module._load (internal/modules/cjs/loader.js:529:3)\r\n at Module.require (internal/modules/cjs/loader.js:636:17)\r\n at require (internal/modules/cjs/helpers.js:20:18)\r\n at Object. (/Users/Raju/Desktop/ag/agtwo/app/node_modules/webpack/bin/webpack.js:155:2)\r\n at Module._compile (internal/modules/cjs/loader.js:688:30)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)\r\n at Module.load (internal/modules/cjs/loader.js:598:32)\r\n at tryModuleLoad (internal/modules/cjs/loader.js:537:12)\r\n at Function.Module._load (internal/modules/cjs/loader.js:529:3)\r\n at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)\r\n at startup (internal/bootstrap/node.js:285:19)\r\n at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)\r\n[ERROR] An error occurred during build after 3s 661ms\r\n[ERROR] Webpack exited with non-zero exit code 1\r\n{code}", "attachment": [], "flagged": false, "summary": "Angular: Project template is outdated ", "creator": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "subtasks": [], "reporter": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.13.4\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 10.14.1\r\n npm Version = 6.7.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\n\r\nTitanium SDK\r\n SDK Version = 7.5.0.GA", "closedSprints": [ { "id": 1153, "state": "closed", "name": "2019 Sprint 15", "startDate": "2019-07-15T18:30:38.331Z", "endDate": "2019-07-28T18:30:00.000Z", "completeDate": "2019-07-29T15:34:51.860Z", "originBoardId": 114 }, { "id": 1123, "state": "closed", "name": "2019 Sprint 7", "startDate": "2019-03-18T17:27:25.993Z", "endDate": "2019-03-30T17:27:00.000Z", "completeDate": "2019-03-29T18:02:37.441Z", "originBoardId": 114 }, { "id": 1124, "state": "closed", "name": "2019 Sprint 8", "startDate": "2019-03-31T18:03:00.000Z", "endDate": "2019-04-12T18:03:00.000Z", "completeDate": "2019-04-12T19:04:50.175Z", "originBoardId": 114 }, { "id": 1157, "state": "closed", "name": "2019 Sprint 16", "startDate": "2019-07-29T15:35:47.313Z", "endDate": "2019-08-11T15:35:00.000Z", "completeDate": "2019-08-12T07:57:02.552Z", "originBoardId": 114 }, { "id": 1128, "state": "closed", "name": "2019 Sprint 9", "startDate": "2019-04-14T19:05:00.000Z", "endDate": "2019-04-26T19:05:00.000Z", "completeDate": "2019-04-26T22:05:13.933Z", "originBoardId": 114 }, { "id": 1160, "state": "closed", "name": "2019 Sprint 17", "startDate": "2019-08-12T07:59:28.950Z", "endDate": "2019-08-25T07:59:00.000Z", "completeDate": "2019-08-26T15:35:29.980Z", "originBoardId": 114 }, { "id": 1129, "state": "closed", "name": "2019 Sprint 10", "startDate": "2019-04-28T22:06:00.000Z", "endDate": "2019-05-17T22:06:00.000Z", "completeDate": "2019-05-20T16:48:42.522Z", "originBoardId": 114 }, { "id": 1161, "state": "closed", "name": "2019 Sprint 18", "startDate": "2019-08-26T21:46:26.269Z", "endDate": "2019-09-08T21:46:00.000Z", "completeDate": "2019-09-09T20:39:58.761Z", "originBoardId": 114 }, { "id": 1163, "state": "closed", "name": "2019 Sprint 19", "startDate": "2019-09-09T20:43:13.091Z", "endDate": "2019-09-22T20:43:00.000Z", "completeDate": "2019-09-23T15:37:35.874Z", "originBoardId": 114 }, { "id": 1165, "state": "closed", "name": "2019 Sprint 20", "startDate": "2019-09-23T15:38:43.949Z", "endDate": "2019-10-06T15:38:00.000Z", "completeDate": "2019-10-07T18:33:11.953Z", "originBoardId": 114 }, { "id": 1136, "state": "closed", "name": "2019 Sprint 11", "startDate": "2019-05-18T17:39:52.830Z", "endDate": "2019-05-31T17:39:00.000Z", "completeDate": "2019-06-04T21:37:11.485Z", "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 }, { "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": 1170, "state": "closed", "name": "2019 Sprint 23", "startDate": "2019-11-04T18:38:14.526Z", "endDate": "2019-11-17T18:38:00.000Z", "completeDate": "2019-11-18T16:38:18.423Z", "originBoardId": 114 }, { "id": 1171, "state": "closed", "name": "2019 Sprint 24", "startDate": "2019-11-18T16:40:09.114Z", "endDate": "2019-12-01T16:40:00.000Z", "completeDate": "2019-12-02T23:06:24.654Z", "originBoardId": 114 }, { "id": 1141, "state": "closed", "name": "2019 Sprint 12", "startDate": "2019-06-03T22:00:37.435Z", "endDate": "2019-06-14T22:00:00.000Z", "completeDate": "2019-06-15T03:44:20.826Z", "originBoardId": 114 }, { "id": 1146, "state": "closed", "name": "2019 Sprint 13", "startDate": "2019-06-18T06:36:49.723Z", "endDate": "2019-07-01T06:36:00.000Z", "completeDate": "2019-07-01T16:45:24.126Z", "originBoardId": 114 }, { "id": 1149, "state": "closed", "name": "2019 Sprint 14", "startDate": "2019-07-01T16:55:04.813Z", "endDate": "2019-07-14T16:55:00.000Z", "completeDate": "2019-07-15T15:41:02.311Z", "originBoardId": 114 }, { "id": 1182, "state": "closed", "name": "2020 Sprint 6", "startDate": "2020-03-16T21:38:00.000Z", "endDate": "2020-03-27T21:38:00.000Z", "completeDate": "2020-03-27T16:02:02.830Z", "originBoardId": 114 }, { "id": 1119, "state": "closed", "name": "2019 Sprint 6", "startDate": "2019-03-03T22:20:00.193Z", "endDate": "2019-03-15T22:20:00.000Z", "completeDate": "2019-03-18T17:26:43.120Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "446999", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/10783\r\nPR (8_0_X): https://github.com/appcelerator/titanium_mobile/pull/10784", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-03-19T22:04:04.000+0000", "updated": "2019-03-19T22:04:04.000+0000" }, { "id": "447397", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Putting back in progress to add compatibility with Angular 7.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-04-01T16:57:02.000+0000", "updated": "2019-04-01T16:57:02.000+0000" }, { "id": "456268", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Closing in favor of TIMOB-27856, where the template was completely rewritten for Angular 9 and the new Webpack build pipeline.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-07-29T13:09:10.000+0000", "updated": "2020-07-29T13:09:10.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }