npm配置注册中心
npm配置注册中心,对很多问题,兼容性,包太久有安全风险都比较有用.
found 808 vulnerabilities (804 low, 4 moderate) run `npm audit fix` to fix them, or `npm audit` for details
npm config get registry
npm config set registry https://registry.npm.taobao.org
问题
问题: npm WARN bootstrap@5.0.2 requires a peer of @popperjs/core@^2.9.2 but none is installed. You must install peer dependencies yourself.
解决: npm i @popperjs/core@^2.9.2 -S
然后重新npm i 安装即可