Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't install definition for a library that was typed to minor version #4222

Closed
Brianzchen opened this issue Jan 5, 2022 · 0 comments · Fixed by #4224
Closed

Couldn't install definition for a library that was typed to minor version #4222

Brianzchen opened this issue Jan 5, 2022 · 0 comments · Fixed by #4224
Labels
bug cli Related to CLI tool

Comments

@Brianzchen
Copy link
Member

CLI Version

3.6.0

Operating system

macOS 12.1

Bug description

I just installed jsonwebtoken and when running flow-typed install it didn't install the definition for me but instead gave me a stub.

Though specifically running flow-typed install jsonwebtoken@8.5 gave me what I wanted

Steps to reproduce

  1. yarn add jsonwebtoken which will install jsonwebtoken@8.5.1
  2. flow-typed install
  3. see that stub is installed when there is clearly a v8.5 definition available

Error output/screenshots

No response

Flow configuration

[ignore]

[include]

[libs]

[lints]

[options]
exact_by_default=true

[strict]

Anything else?

No response

Do you want to submit a pull request to fix this bug?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cli Related to CLI tool
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant