1.报错:npm ERR! Unexpected end of JSON input while parsing near '...stylish":"1.0.0","gul'
解决方法:npm cache clean --force
2.警告:npm WARN invalid config registry=""
npm WARN invalid config Must be a full url with 'http://'
解决方法:npm config set registry http://registry.npm.taobao.org
npm config set registry可以设置国内镜像