2
我使用gulpjs,我想指南針gulp - 指南針失敗:您必須從項目目錄中編譯單個樣式表。
但我得到以下錯誤
[gulp] gulp-notify: [Error running Gulp] Compass failed
[gulp] You must compile individual stylesheets from the project directory.
這是我config.rb
http_path = "/"
css_dir = "app/assets/src/stylesheets"
sass_dir = "app/assets/stylesheets"
images_dir = "app/assets/images"
javascripts_dir = "app/assets/javascript"
這是我gulp.js
.pipe($.compass({
config_file: './config.rb',
css: 'app/assets/src/stylesheets',
sass: 'app/assets/stylesheets',
require: [
'bourbon',
'singularitygs'
],bundle_exec:true}))
當你運行'compass compile'而沒有吞嚥時,它會工作嗎? –