Gulp SASS 编译错误 - 断点无法导入



我一直在尝试解决 Gulp 错误。我正在运行一个

  • Mac OS Sierra 10.12.5
  • 使用 Acquia Dev Desktop 在本地安装 Drupal 7
  • 我已经在 Zen 入门主题
  • 中使用了自述文件.txt,并按照 Zen 入门主题中的说明安装了 npm 和 gulpfile.js

我有 gulp 找到 gulpfile.js以便它将开始编译 SASS 但是我遇到了以下错误,我无法弄清楚我错过了什么!

[iMac:foo_theme Candace$ gulp
[13:48:46] Using gulpfile ~/Sites/devdesktop/foo_theme/gulpfile.js
[13:48:46] Starting 'clean:css'...
[13:48:46] Starting 'clean:styleguide'...
[13:48:46] Starting 'styleguide:kss-example-chroma'...
[13:48:46] 'styleguide:kss-example-chroma' errored after 7.94 ms
[13:48:46] TypeError: $.replace is not a function
at Gulp.<anonymous> (/Users/Candace/Sites/devdesktop/foo_theme/gulpfile.js:154:13)
at module.exports (/Users/Candace/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/Candace/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/Candace/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/Candace/node_modules/orchestrator/index.js:134:8)
at /usr/local/lib/node_modules/gulp-cli/lib/versioned/^3.7.0/index.js:51:20
at _combinedTickCallback (internal/process/next_tick.js:95:7)
at process._tickCallback (internal/process/next_tick.js:161:9)
at Function.Module.runMain (module.js:607:11)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
[13:48:46] Finished 'clean:css' after 36 ms
[13:48:46] Finished 'clean:styleguide' after 32 ms
Error: Could not import `breakpoint` from any of the following locations:
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/_breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/breakpoint.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_breakpoint.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_breakpoint.sass
Error: Could not import `chroma/functions` from any of the following locations:
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/_functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/chroma/_functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma/_functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/_functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma/_functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma/_functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma/_functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma/_functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma/functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma/functions.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma/_functions.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma/_functions.sass
Error: Could not import `chroma` from any of the following locations:
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/_chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_chroma.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_chroma.sass
Error: Could not import `chroma/kss` from any of the following locations:
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/_kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/chroma/_kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/chroma/_kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/chroma/_kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/chroma/_kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/chroma/_kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/chroma/_kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/chroma/_kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma/kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma/kss.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma/_kss.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/chroma/_kss.sass
Error: Could not import `support-for` from any of the following locations:
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/_support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/support-for.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_support-for.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_support-for.sass
Error: Could not import `typey` from any of the following locations:
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/_typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/typey.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_typey.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_typey.sass
Error: Could not import `zen-grids` from any of the following locations:
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/_zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/style-guide/_zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/sites/all/themes/foo/sass/_zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/breakpoint-sass/stylesheets/_zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/chroma-sass/sass/_zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/support-for/sass/_zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/typey/stylesheets/_zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/zen-grids.sass
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_zen-grids.scss
/Users/Candace/Sites/devdesktop/foo_theme/node_modules/zen-grids/sass/_zen-grids.sass
Error in plugin 'sass'
Message:
sites/all/themes/foo/sass/init/_variables.scss
Error: no mixin named add-breakpoint
Backtrace:
sites/all/themes/foo/sass/init/_variables.scss:122
on line 122 of sites/all/themes/foo/sass/init/_variables.scss
>> @include add-breakpoint(xxxs, (333px, 'no-query' true));
---------^

这是_variable.scss文件:


$support-for: (
ie:  9,
'*': -4,
);
$base-font-size:    16px;
$base-line-height:  24px;
$font-size: (
xxl:              32px,
xl:               24px,
l:                20px,
m:                $base-font-size,
s:                14px,
xs:               10px
);
$font-weight: (
bold:             bold,
medium:           500,
normal:           normal,
light:            300,
lighter:          lighter,
);
$times-new-roman: 'Times New Roman', Times, Georgia, 'DejaVu Serif', serif;
$times:           Times, 'Times New Roman', Georgia, 'DejaVu Serif', serif;
$georgia:         Georgia, 'Times New Roman', 'DejaVu Serif', serif;
$verdana:         Verdana, Tahoma, 'DejaVu Sans', sans-serif;
$tahoma:          Tahoma, Verdana, 'DejaVu Sans', sans-serif;
$helvetica:       Helvetica, Arial, 'Nimbus Sans L', sans-serif;
$arial:           Arial, Helvetica, 'Nimbus Sans L', sans-serif;
$impact:          Impact, 'Arial Narrow', Helvetica, sans-serif;
$menlo:           Menlo, 'DejaVu Sans Mono', 'Ubuntu Mono', Courier, 'Courier New', monospace, sans-serif;
$typefaces: (
body: (
font-family: $verdana,
),
monospace: (
font-family: $menlo,
),
compact: (
font-family: $impact,
weight: bold,
case: uppercase,
),
);
$typey-debug: false;
$base-unit:         'rem';
$rem-fallback:      false;

// Breakpoints
//
// Use the `respond-to()` mixin to use named breakpoints. Documentation is
// available in the [Breakpoint wiki
// pages](https://github.com/at-import/breakpoint/wiki/Respond-To).
//
// Style guide: sass.variables.breakpoints
@include add-breakpoint(xxxs, (333px, 'no-query' true));
@include add-breakpoint(xxs,  (444px, 'no-query' true));
@include add-breakpoint(xs,   (555px, 'no-query' true));
@include add-breakpoint(s,    (666px, 'no-query' true));
@include add-breakpoint(m,    (777px, 'no-query' true));
@include add-breakpoint(l,    (888px, 'no-query' true));
@include add-breakpoint(xl,   (999px, 'no-query' true));
@include add-breakpoint(xxl,  (1111px));
@include add-breakpoint(xxxl, (1222px));

$zen-auto-include-grid-item-base: false;
$zen-box-sizing: universal-border-box;
$zen-columns: 1;
$zen-gutters: 40px;
$zen-layouts: (
m: (
columns: 2,
// The gutters in the layouts are larger on mobile.
gutters: 25px,
),
xl: (
columns: 3,
gutters: 25px,
),
);
$zen-rtl-selector: '[dir="rtl"]';
$indent-amount: 2 * $base-font-size;
$include-rtl: true;
// Automatically turn off Zen Grids' RTL support if $include-rtl is false.
@if not $include-rtl {
$zen-rtl-selector: false !global;
}

我不知道从这里开始做什么。

几天后,我终于找到了答案!当使用 Drupal 7 运行 gulp 时,Zen 主题 - 禅宗主题已经安装了 gulp.js 文件。
所以(如果你使用的是mac(将你的终端指向你的禅宗子主题文件夹 cd/Users/foo_username/Sites/devdesktop/foo_subtheme/sites/all/themes/foo_themename/然后在终端运行npm安装,这将安装子主题文件夹中的 package.json 文件中所需的所有模块。 确保阅读"自述文件",以便对 gulp 进行任何更改.js这可能需要在本地计算机上运行它 现在,您可以运行吞咽和吞咽手表而不会出现可怕的错误!

最新更新