gpt4 book ai didi

typescript - 如何使用 typings 安装 jquery

转载 作者:搜寻专家 更新时间:2023-10-30 20:31:34 25 4
gpt4 key购买 nike

用过的:

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

谁能帮帮我。

最佳答案

尝试:

typings install dt~jquery --global --save

编辑:

来自 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

(另请参阅下面 Fidan Hakaj 的评论)

关于typescript - 如何使用 typings 安装 jquery,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37409912/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com