从github上clone代码后npm install,结果解决办法: npm config set registry https://registry.npm.taobao.org之后出现自动生成了一个package-lock.json这才领悟原来是npm5.3的坑
npm install 时报错 Unexpected end of input at 1:15930
原文:http://www.cnblogs.com/longtengfly/p/8001604.html