同事改了我框架的配置,从node4改到了node6,然后显示node-sass出了问题,果断uninstall 再重新下载 报错。 记录一下解决办法: 用阿里的镜像下载就可以了: cnpm install node-sass --registry=https://registry.npm.taobao.org