npm 报错:npm ERR! Unexpected token < in JSON at position 1 while parsing near ' 解决: 首先切换成淘宝镜像: registry=http://registry.npm.taobao.org/ 查看是否切换成功: npm config get registry