Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jquery.TypeScript.DefinitelyTyped时获取404错误_Typescript_Nuget Package - Fatal编程技术网

jquery.TypeScript.DefinitelyTyped时获取404错误

jquery.TypeScript.DefinitelyTyped时获取404错误,typescript,nuget-package,Typescript,Nuget Package,我试图在项目中安装jquery.TypeScript.DefinitelyTyped,但出现以下错误: Install-Package : The remote server returned an error: (404) Not Found. At line:1 char:16 + Install-Package <<<< jquery.TypeScript.DefinitelyTyped + CategoryInfo : NotS

我试图在项目中安装jquery.TypeScript.DefinitelyTyped,但出现以下错误:

Install-Package : The remote server returned an error: (404) Not Found.
At line:1 char:16
    + Install-Package <<<<  jquery.TypeScript.DefinitelyTyped
    + CategoryInfo          : NotSpecified: (:) [Install-Package], WebException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
上述命令复制自:


请帮助..

您可以从此处手动下载


更确切地说,这是一个文件:

Basarat answer为您提供了可以从中获取所有文件的位置,但如果您有安装了
npm
的NodeJ,则有另一种方法。对于那些没有带有
npm
的nodejs的用户,请从下载
npm
是节点包管理器的缩写

然后可以转到命令行,然后只使用
npm

然后,您可以安装缺少TypeScript定义管理器的
tsd
,如下所示:

npm安装-g tsd

然后,您可以安装任何可用的typescript定义,如下所示:

tsd安装

所有软件包都将安装在
d.ts>[软件包名称]>[定义文件]

所有定义文件都有
d.ts
文件扩展名。

请重试:
Install-Package jquery.TypeScript.DefinitelyTyped