报错先看报错截图:这里可以看到phantomjs安装失败。解决方案打开文件$cd~$vim.npmrc添加内容sass_binary_site=https://npm.taobao.org/mirrors/node-sass/phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/关闭编辑器就是这样。重新安装见下图:

报错先看报错截图:这里可以看到phantomjs安装失败。解决方案打开文件$cd~$vim.npmrc添加内容sass_binary_site=https://npm.taobao.org/mirrors/node-sass/phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/关闭编辑器就是这样。重新安装见下图: