Description
When 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)
Titanium CLI Dependencies
√ adm-zip up-to-date (v0.4.7)
√ async up-to-date (v2.1.2)
√ colors up-to-date (v1.1.2)
√ fields up-to-date (v0.1.24)
√ fs-extra up-to-date (v2.1.2)
√ humanize up-to-date (v0.0.9)
√ longjohn up-to-date (v0.2.11)
√ moment up-to-date (v2.16.0)
√ node-appc up-to-date (v0.2.41)
√ request up-to-date (v2.79.0)
√ semver up-to-date (v5.3.0)
√ sprintf up-to-date (v0.1.5)
√ temp up-to-date (v0.8.3)
√ winston up-to-date (v1.1.2)
Titanium CLI Dependencies
√ acs up-to-date (v2.0.5)
√ alloy up-to-date (v1.9.11)
√ appc-cli-titanium up-to-date (v4.3.6)
√ appc-inquirer up-to-date (v0.1.10)
√ appc-logger up-to-date (v1.1.27)
√ appc-platform-sdk up-to-date (v2.3.0)
√ arrow up-to-date (v2.0.2)
√ async up-to-date (v1.5.2)
√ chalk up-to-date (v1.1.3)
√ char-spinner up-to-date (v1.0.1)
√ columnify up-to-date (v1.5.4)
√ commander up-to-date (v2.9.0)
√ debug up-to-date (v2.6.8)
√ ejs up-to-date (v2.5.6)
√ fields up-to-date (v0.1.24)
√ fs-extra up-to-date (v0.26.7)
× fsevents missing
√ inquirer up-to-date (v0.11.4)
√ ip up-to-date (v1.1.5)
√ jwt-simple up-to-date (v0.3.1)
√ lodash up-to-date (v3.10.1)
√ mkdirp up-to-date (v0.5.1)
√ node-appc up-to-date (v0.2.43)
√ node-forge up-to-date (v0.6.49)
√ npmconf up-to-date (v2.1.2)
√ plural up-to-date (v0.2.0)
√ progress up-to-date (v1.1.8)
√ recursive-readdir up-to-date (v2.2.1)
√ request up-to-date (v2.81.0)
√ semver up-to-date (v5.3.0)
√ tar up-to-date (v2.2.1)
√ tar.gz up-to-date (v1.0.5)
√ tiapp.xml up-to-date (v0.2.2)
√ titanium up-to-date (v5.0.14)
√ which up-to-date (v1.2.14)
√ wrench up-to-date (v1.5.9)
Steps to reproduce
Run ti setup check
Run appc ti setup check
Actual
Titanium CLI Dependencies is different between the two
Expected
Titanium CLI Dependencies should be the same between the two
I am able to reproduce this issue with the following environment; Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14
PR: https://github.com/appcelerator/titanium/pull/279