yarn add @fortawesome/Font Awesome-free 安装报错

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
最佳答案

已经解决
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 命令安装

5年前 评论
讨论数量: 3

已经解决
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 命令安装

5年前 评论
running8

试一个遍,坑是算爬过去了,但也不知道是什么原理。
我是win系统里装的homestead
直接执行以下两步:
yarn add vue-template-compiler --dev --production=false --no-bin-links
npm run watch-poll

5年前 评论

解决方案其实很简单,参考 FontAwesome 官网的 yarn 安装命令,可见正确的 yarn 安装命令应该是:

$ yarn add --dev @fortawesome/fontawesome-free
5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!