You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/08/22 22:25:30 UTC

[GitHub] [cordova-cli] breautek commented on issue #526: cordova diagnostic command

breautek commented on issue #526:
URL: https://github.com/apache/cordova-cli/issues/526#issuecomment-678702592


   > What does `cordova info` lack to satisfy these requirements?
   
   Definitely missed that command in `cordova help`, but I see it now. Let's see `cordova info` contains...
   
   - :heavy_check_mark: OS Platform & Version
   - Xcode version (not sure if it is included, but I assume it is, don't have a mac to test)
   - :heavy_check_mark: installed android SDK versions. No Android Studio version, but I'll admit this doesn't really matter for most people.
   - :x: Java version
   - :heavy_check_mark: Node & NPM version
   - :heavy_check_mark: cordova version (including cli, common, create, and lib/fetch/serve)
   - :heavy_check_mark: Installed cordova platforms and their versions
   - :x: node module dependency tree
   
   So `cordova info` contains most of the information. So I guess the java version should be added to `cordova info` command.
   
   I think "node modules dependency tree" can still be up to debate, but I think it may help identify issues caused by mismatch of sub dependencies, which appears to be the case on https://github.com/apache/cordova-android/issues/1027#issuecomment-677762390. However the `npm ls` command is rather verbose and may make it difficult for user to copy and paste. They can always use the redirect operator though to direct `stdout` to a file... via `cordova info > info.log`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org