解决 npm install 时遇到的 Error installing vscode.d.ts: Error: getaddrinfo ENOENT raw.githubusercontent.com 问题

本次手动安装一个 vscode 扩展。在对应目录下执行 npm install 遇到错误,如下 Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/809e7b30e928e0c430141b3e6abf1f63aaf55589/src/vs/vscode.d.ts Error installing vscode.d.ts: Error: getaddrinfo ENOENT raw.gith... 阅读全文