sathishkumar sathishkumar - 3 months ago 84
TypeScript Question

How to install jquery using typings

used:

typings install jquery --global

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: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/npm/jquery/versions/latest responded with 404, expected it to equal 200


Could anyone help me.

Answer

Try:

typings install dt~jquery --global --save

EDIT:

from https://github.com/typings/typings#updating-from-0x-to-10

If you want to install from DefinitelyTyped, be explicit (use dt~ --global). For example: typings install dt~angular-component-router --global --save

(see also Fidan Hakaj's comment below)