使用:
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
有人能帮帮我吗。
发布于 2016-05-26 23:51:41
尝试:
typings install dt~jquery --global --save
编辑:
来自https://github.com/typings/typings#updating-from-0x-to-10
如果要从DefinitelyTyped安装,请明确(使用dt~ --
)。例如:键入install dt~angular-component-router --global --save
(另见Fidan Hakaj的评论)
发布于 2016-10-12 02:32:34
如果您将tyescript2.0与命令一起使用:
npm安装-g typescript@2.0
您可以使用以下命令安装jquery:
jquery安装--保存@types/
https://stackoverflow.com/questions/37409912
复制相似问题