npm install java 报错
1.更新npm
1.sudo npm cache clean -f
2. sudo npm install npm -g
2.重写安装
sudo npm uninstall node-gyp -g
sudo npm uninstall node-gyp
sudo npm install node-gyp -g
https://blog.csdn.net/StillCity/article/details/77483085