npm 报错:npm notice Beginning October 4, 2021, all connections to the npm registry.......

注:npm login必须要通过 https,http://registry.npmjs.org 这样也是不行的

1.查看本地npm是不是官方的

npm config get registry

2.设置npm官方源

npm config set registry https://registry.npmjs.org

你可能感兴趣的:(npm 报错:npm notice Beginning October 4, 2021, all connections to the npm registry.......)