Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Yeoman generator checks don't actually check installed version #53

Closed
sstone1 opened this issue Sep 6, 2018 · 1 comment
Closed

Yeoman generator checks don't actually check installed version #53

sstone1 opened this issue Sep 6, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@sstone1
Copy link
Contributor

sstone1 commented Sep 6, 2018

npm view generator-fabric version checks npmjs.org to see if the specified package exists, and then returns the latest version of that package. It does not actually check to see if the specified package is installed locally, or if it's the right version - and we need to do both!

npm ls -g --depth=0 generator-fabric will check to see if the specified package is installed locally. We also need to check if it's of a version that is compatible with the extension, e.g. the work in issue #51 will require generator-fabric@0.0.4 or greater to be installed. We will need to prompt the user that they must upgrade their installed version if this is the case.

@sstone1 sstone1 added the bug Something isn't working label Sep 6, 2018
@sstone1
Copy link
Contributor Author

sstone1 commented Sep 6, 2018

Duplicate of #32.

@sstone1 sstone1 closed this as completed Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant