使用npm install 安装npm时出现This is probably not a problem with npm. There is likely additional logging output above.错误
可能是因为版本问题(安装新版本或者旧版本),导致有一些缓存
可以执行下面的命令,在把之前装的都清空
rm -rf node_modules
rm package-lock.json
npm cache clear --force
然后重新执行npm install