{ "id": "172090", "key": "AC-5847", "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": "2018-08-20T04:01:53.000+0000", "created": "2018-08-18T18:32:43.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-08-20T04:01:53.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": "When installing the latest CLI 7.0.5 with \"appc setup\" this error is shown during package loading. \r\n\r\n└ package/appcd Failed to install appcd@1.1.3; it may not support your current OS.\r\n\r\nThe installation finished ok. But, in \"appc ti setup check\" you can see the \"appcd\" package is showing missing with a red cross. \r\n\r\nMy OS is macOS High Sierra 10.13.6. Any idea why?", "attachment": [], "flagged": false, "summary": "Failed to install appcd@1.1.3", "creator": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "environment": null, "comment": { "comments": [ { "id": "440875", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I cannot reproduce, however I suspect the problem is due to your Node.js version being too old. The Appc Daemon requires Node.js 8.0 or newer.\r\n\r\nPlease install the latest Node.js 8.x release. Uninstall the botched 7.0.5 release by first downgrading to 7.0.4:\r\n\r\n{code}\r\nappc use 7.0.4\r\n{code}\r\n\r\nRemove the botched 7.0.5:\r\n\r\n{code}\r\nrm -rf ~/.appcelerator/install/7.0.5\r\n{code}\r\n\r\nThen run setup again:\r\n\r\n{code}\r\nappc setup\r\n{code}\r\n\r\nLet me know if that solves it.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-08-19T04:20:37.000+0000", "updated": "2018-08-19T13:07:41.000+0000" }, { "id": "440876", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Don't you mean {{rm -rf ~/.appcelerator/install/7.0.5}}?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-08-19T07:52:15.000+0000", "updated": "2018-08-19T07:52:15.000+0000" }, { "id": "440878", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Fixed typo. Thanks!", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-08-19T13:08:02.000+0000", "updated": "2018-08-19T13:08:02.000+0000" }, { "id": "440880", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Just re-tested and I cannot reproduce the issue.\r\n\r\nDo you have enough free disk space?\r\n\r\nWhat happens if you do the following?\r\n\r\n{code}\r\nmkdir ~/appctest\r\ncd ~/appctest\r\nnpm i node-ios-device\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-08-19T17:38:38.000+0000", "updated": "2018-08-19T17:38:38.000+0000" }, { "id": "440882", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~cbarber], Good news, I again tried to do the same thing on your first recommendation. This time all the packages installed perfectly. No issue now. But I am not sure why this was happening before. Thanks for the help. I will close it. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-08-19T19:38:22.000+0000", "updated": "2018-08-19T19:38:22.000+0000" }, { "id": "440883", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~sdarda] That's great that you got it working.\r\n\r\nThe problem you ran into, as indicated in your log output, is a permission issue. I recommend that you never run \"npm install\" with \"sudo\" unless you are specifying the {{-g}} global flag. The problem with using \"sudo\" when installing something in your user directory is the files will be owned by root instead of your user. This is especially bad when installing npm packages since the packages get cached and are owned by root. You should probably fix the file permissions in your npm cache.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-08-20T04:01:30.000+0000", "updated": "2018-08-20T04:01:30.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }