【问题标题】:How to resolve the error I get when creating a subtheme of the Drupal Aurora theme?如何解决我在创建 Drupal Aurora 主题的子主题时遇到的错误?
【发布时间】:2015-03-30 08:18:40
【问题描述】:

当我尝试创建 Drupal 的 Aurora theme 的子主题时出现错误。

我按照 Aurora 的指示在终端中,出现以下错误:

MY-MacBook-Pro:aurora myname$ compass create aurorasub -r aurora --using aurora
LoadError on line ["45"] of    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- aurora

使用 --trace 运行以查看完整的回溯。

有人知道吗?

【问题讨论】:

    标签: drupal-7 drupal-theming


    【解决方案1】:

    我不确定是什么原因造成的,尽管通常是因为未正确安装 gem(或者安装了“aurora”gem,而不是“compass-aurora”gem)。但我可以说这不再是问题了,因为子主题的创建已移至 Yeoman 生成器。

    你可以在这里看到极光发生器:https://github.com/Snugug/generator-aurora

    这里有一个与极光具有相同功能的通用生成器:https://github.com/frontend-united/generator-drupal-theme

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-28
      • 1970-01-01
      • 2023-03-17
      • 2023-03-20
      • 2019-12-05
      • 1970-01-01
      相关资源
      最近更新 更多