Closed kuresaru closed 3 years ago
几个月之前想写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>
我直接npm update了下,你试下现在能不能安装
ok
描述
几个月之前想写pr 然后发现不能下载依赖了 以为当时是服务器问题 现在还是不行 顺着源码看安装脚本 它访问的那个文件我手动访问 确实是个404
报错信息
手动访问