该项目使用node-sass,但我想切换到dart-sass,因为node-sass已被弃用。 如果我卸载node-sass并安装sass,我会得到以下错误: To import Sass files, you first need to install node-sass. Run 'npm install node-sass' or 'yarn add node-sass' inside your workspace 如果我卸载node-sass并在node-sass包装器中安装sass (npm install --save-dev node-sass@
我成功地安装了Sass,但在导入Compass时遇到了问题。
以下是错误详细信息:
*Syntax error: File to import not found or unreadable: compass.
Load path: H:/HTML/___keoFull/sass
.....
Backtrace:
mainKeo.scss:2
style.scss:2
C:/Ruby193/lib/ruby/gems/1.9.1/gems/sass-3.2.6/lib/sass/tree/import_node.rb:67:in `rescue in import&
我刚刚使用在Windows10上安装了Jekyll 3.5.0。
我已经成功地运行了jekyll new my_blog,我的博客文件夹如下所示
kontiky@DESKTOP-GRQ069N:~/my_blog$ ls
404.html about.md _config.yml Gemfile Gemfile.lock index.md _posts vendor
但是当我在my_blog中调用jekyll build时,我看到了这些警告和错误消息
Deprecation: The 'gems' configuration option has been ren
我正在处理vim中的一个项目,每次保存.scss文件时,都会收到以下错误:
Deleted template detected: /home/path/to/my.scss
/usr/lib/ruby/gems/1.8/gems/sass-3.1.17/bin/../lib/sass/../sass/plugin/compiler.rb:338:in `read': No such file or directory - public/stylesheets/my.scss (Errno::ENOENT)
from /usr/lib/ruby/gems/1.8/gems
我试着用丹尼斯·贝克尔的咕噜
我尝试使用开发人员提供的文档来设置libsass项目。
我在找出文件的确切位置和导入应该如何调用时遇到了困难。
下面的安装程序引发此错误:
Running "sass_globbing:files" (sass_globbing) task
Running "sass:app" (sass) task
>> file to import not found or unreadable: layout/**/*
>> Current dir: /Users/dlahay/Documents/Workspace
我已经在Ubuntu14.04上安装了Sass,但是找不到命令(sass等)。我的安装历史记录如下所示:
# apt-get install ruby
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby is already the newest version.
ruby set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
#
我不想从默认的'views‘目录中为我的Sass文件提供服务,而是希望将其更改为/assets/sass
以下是我在应用程序中的主ruby根文件中的尝试:
尝试1:
set :sass, Proc.new { File.join(root, "assets/sass") }
get '/stylesheet.css' do
sass :core
end
这样,我得到了以下错误:
myapp.rb:17 NoMethodError: undefined method `merge' for "/Users/x/x/x/mysin
我正在尝试编译对extjs4的.scss文件所做的更改。当我编译文件指南针输出时。
Syntax error: Functions may only be defined at the root of a document.
on line 115 of G:/Ruby/bin/resources/themes/stylesheets/ext4/default/mixins/_frame.scss
from line 4 of G:/Ruby/bin/resources/themes/stylesheets/ext4/default/_mixins.scss
在遵循Ag ()指南时,我遇到了一个错误。
当我使用正常的风格时,我没有问题。
错误:
Uncaught Error: Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
-webkit-font-smoothing: antialiased;
^
Declarations may only be used within st