问题用npm安装模块时,npm 报了这样的一个错误ERR! registry error parsing json。方法npm config delete registry 删除registry,继续安装模块就可以了