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

Case-sensitive naming #213

Closed
remojansen opened this issue Feb 15, 2016 · 3 comments
Closed

Case-sensitive naming #213

remojansen opened this issue Feb 15, 2016 · 3 comments

Comments

@remojansen
Copy link
Contributor

I tried to install q.js and if you try with:

$ typings install q --ambient --save

It fails:

typings ERR! message Unable to find "q" in the registry. 
If you can contribute this type definition, please help us: https://github.com/typings/registry

If you try with uppercase:

$ typings install Q --ambient --save

It works:

? Found Q typings for DefinitelyTyped. Continue? (Y/n) y
? Found Q typings for DefinitelyTyped. Continue? Yes
Installing Q@~* (DefinitelyTyped)...

Q
└── (No dependencies)

I don't think it is a good idea to have case-sensitive naming?

Thanks!

@blakeembrey
Copy link
Member

Maybe, but that's just how DefinitelyTyped stored the file - in uppercase. I can't change that now, but I'll keep this around to update the API endpoint.

@vvscode
Copy link

vvscode commented May 24, 2016

```typings ERR! message Unable to find "Q" ("npm") in the registry. Did you want to try searching another source? Also, if you want contribute these typings, please help us: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/npm/Q/versions/latest responded with 404, expected it to equal 200

typings ERR! cwd /Users/vvs/repo/js--ts-courses-10.05.16
typings ERR! system Darwin 14.5.0
typings ERR! command "/Users/vvs/.nvm/versions/node/v5.10.1/bin/node" "/Users/vvs/.nvm/versions/node/v5.10.1/bin/typings" "install" "Q" "--ambient" "--save"
typings ERR! node -v v5.10.1
typings ERR! typings -v 1.0.4

typings ERR! If you need help, you may report this error at:
typings ERR!   <https://github.com/typings/typings/issues>```

Is there some solution?

@unional
Copy link
Member

unional commented May 24, 2016

Q is not in registry yet I believe. Use dt~q --global

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants