We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
跑项目时提示sass-loader解析不了,发现虽然安装了node-sass但是还需要sass,在天朝由于众所周知的原因直接用 sudo gem install sass 会没反应
sudo gem install sass
不过幸好还有淘宝的镜像 https://ruby.taobao.org/【已迁移为 Ruby China 镜像 https://gems.ruby-china.org/】可以用
首先移除原来的 sources 地址,换上淘宝 Ruby China 镜像的地址,然后再安装就可以了(官网提示org域名备案不了,换成了com😂)
$ gem sources --remove https://rubygems.org/ $ gem sources -a https://gems.ruby-china.com/ $ gem sources -l *** CURRENT SOURCES *** https://gems.ruby-china.com/ $ sudo gem install sass
最后用 sass -v 能看到版本号就表明成功了 😄
sass -v
$ sass -v Sass 3.5.4 (Bleeding Edge)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
跑项目时提示sass-loader解析不了,发现虽然安装了node-sass但是还需要sass,在天朝由于众所周知的原因直接用
sudo gem install sass
会没反应不过幸好还有
淘宝的镜像 https://ruby.taobao.org/【已迁移为 Ruby China 镜像 https://gems.ruby-china.org/】可以用首先移除原来的 sources 地址,换上
淘宝Ruby China 镜像的地址,然后再安装就可以了(官网提示org域名备案不了,换成了com😂)最后用
sass -v
能看到版本号就表明成功了 😄The text was updated successfully, but these errors were encountered: