Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

工程不能用了 是不是需要升级一些依赖 #52

Closed
kuresaru opened this issue May 10, 2021 · 2 comments
Closed

工程不能用了 是不是需要升级一些依赖 #52

kuresaru opened this issue May 10, 2021 · 2 comments

Comments

@kuresaru
Copy link
Contributor

描述

几个月之前想写pr 然后发现不能下载依赖了
以为当时是服务器问题 现在还是不行
顺着源码看安装脚本 它访问的那个文件我手动访问 确实是个404

报错信息

PS G:\projects\vscode-background-cover> node -v
v15.5.1
PS G:\projects\vscode-background-cover> npm -v
7.3.0
PS G:\projects\vscode-background-cover> npm i

> background-cover@2.2.5 postinstall
> node ./node_modules/vscode/bin/install

Detected VS Code engine version: ^1.38.0
Error installing vscode.d.ts: Error: Request returned status code: 404
Details: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/releases/stable</pre>
</body>
</html>

npm ERR! code 1
npm ERR! path G:\projects\vscode-background-cover
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./node_modules/vscode/bin/install

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\kuresaru\AppData\Local\npm-cache\_logs\2021-05-10T05_53_47_975Z-debug.log
PS G:\projects\vscode-background-cover>

手动访问

kuresaru@DESKTOP-8H4VBOH:~$ curl -i 'https://vscode-update.azurewebsites.net/api/releases/stable' -H 'X-API-Version: 2'
HTTP/1.1 404 Not Found
Content-Length: 158
Content-Type: text/html; charset=utf-8
X-Powered-By: Express
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
Date: Mon, 10 May 2021 05:57:21 GMT

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /api/releases/stable</pre>
</body>
</html>
@AShujiao
Copy link
Owner

我直接npm update了下,你试下现在能不能安装

@kuresaru
Copy link
Contributor Author

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants