@导入“基础”;基础错误5

2024-02-24

我在我的项目中使用foundation5,并完成了其网站和中定义的所有设置http://thesassway.com http://thesassway.com1 http://thesassway.com但是当我使用@import“foundation”导入时;或@import“基础/组件/顶栏”;我收到以下错误

error sass/screen.scss (Line 7: File to import not found or unreadable: foundation.
Load paths:
/media/oem/Python/Self programs/mycache/mycache/templates/mycss/sass
/usr/share/compass/frameworks/blueprint/stylesheets
/usr/share/compass/frameworks/compass/stylesheets
Compass::SpriteImporter)

配置.rb 文件

require 'foundation'
http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"

当我在 config.rb 文件中包含 require 'foundation' 后运行 compass watch 时,出现以下错误

命令-->“指南针手表--trace”给出

LoadError on line ["36"] of /usr/lib/ruby/1.9.1/rubygems/custom_require.rb: cannot load such file -- foundation
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/compass/configuration/data.rb:161:in `require'
/media/oem/Python/Self programs/mycache/mycache/templates/mycss/config.rb:4:in `get_binding'
/usr/lib/ruby/vendor_ruby/compass/configuration/serialization.rb:24:in `eval'
/usr/lib/ruby/vendor_ruby/compass/configuration/serialization.rb:24:in `parse_string'
/usr/lib/ruby/vendor_ruby/compass/configuration/serialization.rb:15:in `block in _parse'
/usr/lib/ruby/vendor_ruby/compass/configuration/serialization.rb:14:in `open'
/usr/lib/ruby/vendor_ruby/compass/configuration/serialization.rb:14:in `_parse'
/usr/lib/ruby/vendor_ruby/compass/configuration/file_data.rb:7:in `block in new_from_file'
/usr/lib/ruby/vendor_ruby/compass/configuration/inheritance.rb:204:in `with_defaults'
/usr/lib/ruby/vendor_ruby/compass/configuration/file_data.rb:6:in `new_from_file'
/usr/lib/ruby/vendor_ruby/compass/configuration/helpers.rb:42:in `configuration_for'
/usr/lib/ruby/vendor_ruby/compass/configuration/helpers.rb:97:in `add_project_configuration'                                                                              
/usr/lib/ruby/vendor_ruby/compass/commands/project_base.rb:31:in `add_project_configuration'                                                                              
/usr/lib/ruby/vendor_ruby/compass/commands/project_base.rb:25:in `configure!'                                                                                             
/usr/lib/ruby/vendor_ruby/compass/commands/project_base.rb:15:in `initialize'                                                                                             
/usr/lib/ruby/vendor_ruby/compass/commands/update_project.rb:37:in `initialize'                                                                                           
/usr/lib/ruby/vendor_ruby/compass/exec/sub_command_ui.rb:42:in `new'                                                                                                      
/usr/lib/ruby/vendor_ruby/compass/exec/sub_command_ui.rb:42:in `perform!'                                                                                                 
/usr/lib/ruby/vendor_ruby/compass/exec/sub_command_ui.rb:15:in `run!'                                                                                                     
/usr/bin/compass:30:in `block in <main>'                                                                                                                                  
/usr/bin/compass:44:in `call'                                                                                                                                             
/usr/bin/compass:44:in `<main>'

那么现在我该如何解决这些问题呢?

thanks


来自官方网站: 从 Foundation 5 开始,不再有 Compass 扩展。相反,我们使用 Bower 来使基金会资产与您的项目保持同步。

您需要更新 config.rb 文件夹以更改此行:

需要“zurb 基金会” 到: add_import_path“bower_components/foundation/scss”

更多信息请点击这里:http://foundation.zurb.com/docs/upgrading.html http://foundation.zurb.com/docs/upgrading.html

这就是指南针找不到基础的原因

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

@导入“基础”;基础错误5 的相关文章

随机推荐

  • github.io 阻止了 ajax 请求

    我所有带有ajax请求的应用程序都返回错误 此请求已被阻止 内容必须通过 HTTPS 提供 例如 https zzharuk github io local weather widget https zzharuk github io lo
  • 在运行时合并两个程序集 - C#

    是否可以在运行时合并两个程序集 以便在迭代 ExportedTypes 时返回两个原始程序集中的所有类型 The why 我使用数据库迁移框架来更新我的数据库 它采用由特殊类组成的单个程序集 用于定义对数据库所做的修改 我有两个非常相似的数
  • 使用 git stash 时的 sh.exe.stackdump

    我是 Git 新手 对 stash 命令有疑问 当我编写 git stash git stash list git stash apply git drop 等命令时 我总是得到一个名为 sh exe stackdump 的文件 Excep
  • 带参数的 REST GET 动词

    我正在和我的队友一起阅读一些 REST 我们正在编写一个 RoR 应用程序 它将向世界其他地方公开它的一些功能 我在这个团队的任务是制作一个公开日记报告的资源 如果你打电话 http root com journalreports http
  • 如何确保curl 使用openssl,而不是nss?

    是否可以通过配置来保证parameter http curl haxx se docs manpage html that curl uses OpenSSL http www openssl org and not NSS http ww
  • 在 codeigniter 中启用 $_GET

    我一直在试图弄清楚如何在 CI 中启用 GET 看起来框架故意破坏了 GET 数组 并且启用它需要对核心类进行认真的修改 谁能说出这是为什么 以及如何克服它 请注意 我希望保持 URI 解析和路由的方式不变 只需让 GET 也可用即可 将以
  • Django - 使用 templatetags 渲染许多模板非常慢

    假设 我有一个带有照片库的页面 每个缩略图都有例如照片 国家 地区 作者等 我使用模板标签 加载指定的模板 渲染这些项目 小部件 由于 DRY 我在页面上的不同位置单独使用这些项目 小部件 所以会这样 而且速度非常慢 我使用 django
  • 如何使按钮可重复使用?

    我对编程世界还比较陌生 我对 HTML 和 CSS 有扎实的了解 最近又学习了 JavaScript 我正在开发一系列文本生成器作为学校项目 我的目标是能够在网站上单击一个按钮 并让计算机在每次单击该按钮时吐出随机文本 然而 虽然我对 HT
  • 在 httpContextAccessor.HttpContext 上返回 null

    我们重写 SaveChangesAsync 以自动更新 DateCreated CreatedBy LastDateModified 和 LastModifiedBy 对于CreatedBy和LastModifiedBt 我们需要Ident
  • 获取 Android Google Analytics 引荐来源网址标签

    我们计划使用 Google Analytics 来跟踪通过 Android Market 到我们的应用程序的广告点击推荐 根据谷歌文档 http code google com apis analytics docs mobile andr
  • 带有自定义标头的 Resttemplate GET 请求

    我需要发送带有标头的 GET 请求 Content Type application camiant msr v2 0 xml 我期望来自服务器的 XML 响应 我用 Postman 测试了请求和响应 一切都很好 但是当我尝试在春天这样做时
  • 密码哈希 PHP 7 [关闭]

    Closed 这个问题是基于意见的 help closed questions 目前不接受答案 我目前正在学习 PHP 并且一直在论坛中查找有关如何最好地在 PHP 中对密码进行哈希处理的最新想法 任何人都可以建议目前最好使用的密码哈希方法
  • JSON 嵌套在 POJO 中

    我有一个 POJO 类 public class D private JSONObject profileData public JSONObject getProfileData return profileData public voi
  • 如何在 Eclipse Juno 中打开 OSGi 控制台?

    eclipse console 上面的命令在不同的窗口中打开 OSGi 控制台和 Eclipse IDE 是否有任何选项可以将 OSGi 控制台引入 Eclipse 的控制台视图中 您只需选择 主机 OSGi 控制台 http archiv
  • 使用 JUnit 进行单元测试时如何处理异常?

    如果一个方法抛出异常 如何编写测试用例来验证该方法实际上抛出了预期的异常 在最新版本的 JUnit 中 它是这样工作的 import org junit Rule import org junit Test import org junit
  • 迭代多维关联数组 PHP 中的每个键和值

    我刚刚了解了键 值对 我尝试寻找现有的答案 并尝试了解有关键 值对和关联数组的知识 尽管这有点太耗时了 我很难弄清楚如何迭代这个多维关联数组而不出现任何错误 arr array test1 gt array testing 1 1 gt a
  • 使用索引和列作为 X、Y 以及值作为 Z 将 pandas DataFrame 转换为 3D 图表?

    我正在尝试使用 Pandas Dataframe 创建 3d 波动性表面 我觉得我拥有所有信息 但我不确定如何从中创建 3d 图表 我读过的每本指南似乎都使用 3 个独立的数组 但我觉得我拥有的数据应该是可图形化的 我当前的数据框如下所示
  • graphql中resolver函数的不同实现说明

    我一直在阅读 graphQL 文档 发现他们以两种方式解释了 graphql 服务器的实现 一种使用 graphql yoga 这是一个功能齐全的 graphql 服务器 另一种是使用 graphql express graphql 和ex
  • 将 War 文件部署到 Azure [重复]

    这个问题在这里已经有答案了 我正在尝试将 Web 服务的 War 文件上传到运行 tomcat 8 的 Azure 我在 onedrive 上的相关 webapps 文件夹中有 war 文件 但是部署始终失败 令人沮丧的是它没有错误消息 我
  • @导入“基础”;基础错误5

    我在我的项目中使用foundation5 并完成了其网站和中定义的所有设置http thesassway com http thesassway com1 http thesassway com但是当我使用 import foundatio