背景
执行npm install时报如下错误
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "npm:": npm:fork-ts-checker-webpack-plugin@^5.0.11
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
解决方案
更新npm版本
npm install -g npm