uksz uksz - 4 months ago 29
TypeScript Question

Issue with installing jquery typings

I have an issue with installing typings for jquery, after I did

typings init

MacBook:resources admin$ typings install jquery

typings ERR! message Unable to find "jquery" ("npm") in the registry.
Did you want to try searching another source? Also, if you want
contribute these typings, please help us: typings ERR! caused by responded
with 404, expected it to equal 200

typings ERR! cwd
/Users/admin/resources typings ERR!
system Darwin 15.4.0 typings ERR! command "/usr/local/bin/node"
"/usr/local/bin/typings" "install" "jquery" typings ERR! node -v
v4.4.2 typings ERR! typings -v 1.0.4

typings ERR! If you need help, you may report this error at: typings

Any idea what is going on?


After version 1.0 typings has changed the way it installs typings originally from DefinitelyTyped.

If you search for jQuery with

typings search jquery

You'll see that the source is dt, meaning DefinitelyTyped.

To install it, you should use:

typings install dt~jquery --global