How to install jquery using typings

sathishkumar picture sathishkumar · May 24, 2016 · Viewed 17.8k times · Source

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

raphaëλ picture raphaëλ · May 26, 2016

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)