{ "id": "174107", "key": "AC-6361", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-10-19T23:03:56.000+0000", "created": "2019-09-09T07:44:24.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-10-19T23:03:58.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "After updating the appc CLI with appc use latest (version 7.1.1), I receive the following error when compiling a project for iPhone simulator:\r\n\r\n{noformat}\r\n[INFO] Executing Alloy compile: /Users/michielve/.nvm/versions/node/v10.16.3/bin/node /Users/michielve/.appcelerator/install/7.1.1/package/node_modules/alloy/bin/alloy compile /Users/michielve/Documents/titaniumapps/TestApp/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator\r\n[ERROR] : Cannot find module './validators/react/isReactComponent'\r\n[ERROR] Alloy compiler failed\r\n{noformat}\r\n\r\nI use the following command to compile:\r\n\r\n{noformat}\r\nappc run -p ios -C \"13017F7E-DB7E-4492-99F3-4C49E8A24244\"\r\n{noformat}\r\n\r\nWhen I go back to 7.1.0 everything is okay.", "attachment": [ { "id": "66961", "filename": "Screenshot 2019-09-23 at 5.48.12 PM.png", "author": { "name": "lau.yikonn", "key": "lau.yikonn", "displayName": "lau.yikonn", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-23T10:00:30.000+0000", "size": 25430, "mimeType": "image/png" }, { "id": "66962", "filename": "Screenshot 2019-09-23 at 5.58.08 PM.png", "author": { "name": "lau.yikonn", "key": "lau.yikonn", "displayName": "lau.yikonn", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-23T10:00:46.000+0000", "size": 64698, "mimeType": "image/png" }, { "id": "66963", "filename": "Simulator Screen Shot - iPhone 11 - 2019-09-23 at 17.57.59.png", "author": { "name": "lau.yikonn", "key": "lau.yikonn", "displayName": "lau.yikonn", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-23T10:00:51.000+0000", "size": 39122, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy compiler failed when using CLI 7.1.1", "creator": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "environment": "{noformat}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.14.6\r\n Architecture = 64bit\r\n # CPUs = 12\r\n Memory = 17179869184\r\n\r\nNode.js\r\n Node.js Version = 10.16.3\r\n npm Version = 6.11.3\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.1\r\n\r\nTitanium SDK\r\n SDK Version = 8.1.1.GA\r\n SDK Path = /Users/michielve/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA\r\n Target Platform = iphone\r\n{noformat}\r\n", "comment": { "comments": [ { "id": "451200", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nThanks for letting us know. Are you experiencing the same using iOS device also? Can you please check and let us know.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-09-09T08:41:25.000+0000", "updated": "2019-09-09T08:41:25.000+0000" }, { "id": "451214", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~topener] Alloy doesn't support React, so it must be Alloy's AST walker choking on a npm package that is not installed or cannot be resolved for some reason.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2019-09-09T14:13:01.000+0000", "updated": "2019-09-09T14:13:01.000+0000" }, { "id": "451252", "author": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "body": "@Rakhi Mitro: yes I experience the same using an iOS device.", "updateAuthor": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-09-10T09:14:34.000+0000", "updated": "2019-09-10T09:14:34.000+0000" }, { "id": "451562", "author": { "name": "lau.yikonn", "key": "lau.yikonn", "displayName": "lau.yikonn", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I got the same problem as you. so i uninstall the nodejs and download the latest nodejs to solve the problem.\r\n\r\nafter install latest nodejs, please run \"appc setup\" it will ask you to run the following command to re-build for the newer version \r\n\"appc use 7.1.1 --force\"", "updateAuthor": { "name": "lau.yikonn", "key": "lau.yikonn", "displayName": "lau.yikonn", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-22T12:59:48.000+0000", "updated": "2019-09-22T12:59:48.000+0000" }, { "id": "451566", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~lau.yikonn],\r\nCan you please create a new project and then run again on SDK 8.2.0.GA, use CLI 7.1.1 and let us know how it goes.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-09-23T09:40:37.000+0000", "updated": "2019-09-23T09:40:37.000+0000" }, { "id": "451567", "author": { "name": "lau.yikonn", "key": "lau.yikonn", "displayName": "lau.yikonn", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Rakhi Mitro\r\nyes, im able to run a new project with SDK 8.2.0 and CLI 7.1.1\r\n !Screenshot 2019-09-23 at 5.48.12 PM.png|thumbnail! \r\n !Screenshot 2019-09-23 at 5.58.08 PM.png|thumbnail! \r\n !Simulator Screen Shot - iPhone 11 - 2019-09-23 at 17.57.59.png|thumbnail! ", "updateAuthor": { "name": "lau.yikonn", "key": "lau.yikonn", "displayName": "lau.yikonn", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-23T10:00:58.000+0000", "updated": "2019-09-23T10:00:58.000+0000" }, { "id": "451594", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~lau.yikonn],\r\nDid you manage run your old project on 8.2.0 and CLI 7.1.1 ? Please test and let us know.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-09-24T04:13:26.000+0000", "updated": "2019-09-24T04:13:26.000+0000" }, { "id": "452077", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~michielve], Can you follow the comment by [~lau.yikonn]. I believe the node upgrade should resolve the issue. Let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-10-15T19:44:21.000+0000", "updated": "2019-10-15T19:44:21.000+0000" }, { "id": "452089", "author": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Sharif,\r\n\r\n\"appc use 7.1.1 --force\" did the trick for me.\r\n\r\n", "updateAuthor": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-16T06:39:36.000+0000", "updated": "2019-10-16T06:39:36.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }