【问题标题】:Prepros failed to compile when using gem breakpoint使用 gem 断点时 Prepros 无法编译
【发布时间】:2014-05-15 09:05:00
【问题描述】:

每当我尝试在我的 prepros-project 中包含“断点”gem 时,我都会收到此错误:

error sass/main.scss (Line 3 of sass/_grid.scss: File to import not found or unreadable: breakpoint.

加载路径: C:/xampp/htdocs/egoplan/sass C:/Program Files (x86)/Prepros/gems/gems/compass-core-1.0.0.alpha.13/stylesheets C:/程序文件 (x86)/Prepros/gems/gems/susy-1.0.9/sass Compass::SpriteImporter)

C:\xampp\htdocs\egoplan\sass\main.scss

我尝试安装/卸载多个版本的 compass、sass、susy 和 breakpoints。不起作用。怎么办?

【问题讨论】:

    标签: susy-compass breakpoint-sass prepros


    【解决方案1】:

    您将需要使用 Prepro 的高级 Compass 选项来获取 Breakpoint gem 并使用它。请参阅他们的using third party Compass plugins 说明。

    一句警告;我们建议使用Bundler 来管理Ruby gem 版本并通过命令行编译,因为任何其他选项可能无法(也可能不会)正确处理依赖关系。 Breakpoint 2.4.x 需要 Sass 3.3.0+ 和 Compass 1.0.0+ 并且没有 Bundler,即使正确安装 Breakpoint 也可能无法工作,因为可能使用了不兼容的 Sass 和 Compass 版本。请参阅Breakpoint's Installation 页面。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-26
      相关资源
      最近更新 更多