已经解决
1、这里的报错提示是 :lightercollective: not found,所以先使用 sudo npm i -g lightercollective 命令安装,
之后再执行 SASS_BINARY_SITE=http://npm.taobao.org/mirrors/node-sass yarn --no-bin-links
2、执行 npm run watch-poll的时候如果提示 “Running: yarn add vue-template-compiler --dev --production=false Running: yarn add vue-template-compiler --dev --production=false“,就使用 yarn add vue-template-compiler --dev --production=false --no-bin-links 命令安装
已经解决
1、这里的报错提示是 :lightercollective: not found,所以先使用 sudo npm i -g lightercollective 命令安装,
之后再执行 SASS_BINARY_SITE=http://npm.taobao.org/mirrors/node-sass yarn --no-bin-links
2、执行 npm run watch-poll的时候如果提示 “Running: yarn add vue-template-compiler --dev --production=false Running: yarn add vue-template-compiler --dev --production=false“,就使用 yarn add vue-template-compiler --dev --production=false --no-bin-links 命令安装
试一个遍,坑是算爬过去了,但也不知道是什么原理。
我是win系统里装的homestead
直接执行以下两步:
yarn add vue-template-compiler --dev --production=false --no-bin-links
npm run watch-poll
解决方案其实很简单,参考 FontAwesome 官网的 yarn 安装命令,可见正确的 yarn 安装命令应该是:
$ yarn add --dev @fortawesome/fontawesome-free
推荐文章: