{ "id": "168605", "key": "TIMOB-24892", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-07-28T19:39:41.000+0000", "created": "2017-06-26T10:36:50.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "reprod" ], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2018-07-28T19:39:42.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\n\r\nWhen running {{appc ti setup check}}, the CLI dependencies listed in the output are for the appc cli and not the titanium cli, at first glance it appears to be due to the use of cwd in the lookup of the package.json [here|https://github.com/appcelerator/titanium/blob/b871ba474bc6f604f2681a2d850156503031c36b/lib/commands/setup.js#L669]\r\n\r\n{code: title=Titanium CLI}\r\nTitanium CLI Dependencies\r\n √ adm-zip up-to-date (v0.4.7)\r\n √ async up-to-date (v2.1.2)\r\n √ colors up-to-date (v1.1.2)\r\n √ fields up-to-date (v0.1.24)\r\n √ fs-extra up-to-date (v2.1.2)\r\n √ humanize up-to-date (v0.0.9)\r\n √ longjohn up-to-date (v0.2.11)\r\n √ moment up-to-date (v2.16.0)\r\n √ node-appc up-to-date (v0.2.41)\r\n √ request up-to-date (v2.79.0)\r\n √ semver up-to-date (v5.3.0)\r\n √ sprintf up-to-date (v0.1.5)\r\n √ temp up-to-date (v0.8.3)\r\n √ winston up-to-date (v1.1.2)\r\n{code}\r\n\r\n{code: title=Appc CLI}\r\nTitanium CLI Dependencies\r\n √ acs up-to-date (v2.0.5)\r\n √ alloy up-to-date (v1.9.11)\r\n √ appc-cli-titanium up-to-date (v4.3.6)\r\n √ appc-inquirer up-to-date (v0.1.10)\r\n √ appc-logger up-to-date (v1.1.27)\r\n √ appc-platform-sdk up-to-date (v2.3.0)\r\n √ arrow up-to-date (v2.0.2)\r\n √ async up-to-date (v1.5.2)\r\n √ chalk up-to-date (v1.1.3)\r\n √ char-spinner up-to-date (v1.0.1)\r\n √ columnify up-to-date (v1.5.4)\r\n √ commander up-to-date (v2.9.0)\r\n √ debug up-to-date (v2.6.8)\r\n √ ejs up-to-date (v2.5.6)\r\n √ fields up-to-date (v0.1.24)\r\n √ fs-extra up-to-date (v0.26.7)\r\n × fsevents missing\r\n √ inquirer up-to-date (v0.11.4)\r\n √ ip up-to-date (v1.1.5)\r\n √ jwt-simple up-to-date (v0.3.1)\r\n √ lodash up-to-date (v3.10.1)\r\n √ mkdirp up-to-date (v0.5.1)\r\n √ node-appc up-to-date (v0.2.43)\r\n √ node-forge up-to-date (v0.6.49)\r\n √ npmconf up-to-date (v2.1.2)\r\n √ plural up-to-date (v0.2.0)\r\n √ progress up-to-date (v1.1.8)\r\n √ recursive-readdir up-to-date (v2.2.1)\r\n √ request up-to-date (v2.81.0)\r\n √ semver up-to-date (v5.3.0)\r\n √ tar up-to-date (v2.2.1)\r\n √ tar.gz up-to-date (v1.0.5)\r\n √ tiapp.xml up-to-date (v0.2.2)\r\n √ titanium up-to-date (v5.0.14)\r\n √ which up-to-date (v1.2.14)\r\n √ wrench up-to-date (v1.5.9)\r\n{code}\r\n\r\n\r\nh5.Steps to reproduce\r\n\r\n# Run {{ti setup check}}\r\n# Run {{appc ti setup check}}\r\n\r\nh5.Actual\r\n\r\nTitanium CLI Dependencies is different between the two\r\n\r\nh5.Expected\r\n\r\nTitanium CLI Dependencies should be the same between the two", "attachment": [], "flagged": false, "summary": "CLI: ti setup check when run through appc cli returns incorrect node modules", "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": "Ti SDK: 6.1.1.v20170622111134\r\nTi CLI: 5.0.14\r\nAppc CLI: 6.2.2\r\nAppc NPM: 4.2.9", "closedSprints": [ { "id": 1050, "state": "closed", "name": "2018 Sprint 14 SDK", "startDate": "2018-07-01T18:40:57.193Z", "endDate": "2018-07-15T18:40:00.000Z", "completeDate": "2018-07-16T03:27:08.720Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "424385", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-19T18:31:29.000+0000", "updated": "2017-07-19T18:31:29.000+0000" }, { "id": "439162", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/titanium/pull/279", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-07-12T10:58:32.000+0000", "updated": "2018-07-12T10:58:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }