Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when importing file (File to import not found or unreadable:) #145

Open
amccarthyMatchbook opened this issue Nov 15, 2016 · 0 comments

Comments

@amccarthyMatchbook
Copy link

Hi,
using Compass 1.0.3 (Polaris) on a mac (OSX 10.10.3)
I have 2 files my application.css.scss and _variables.css.scss.

Gulp compass command works ok, until I try and import _variables.css.scss.
When I run gulp compass when trying to import this file _variables.css.scss I get.

error sass/application.css.scss (Line 1: File to import not found or unreadable: variables.

Have had a good look online and have not found any solid solutions for this error.
Has anyone encountered this before or possibly found a fix for this?

here is the gulp task I am running btw:

gulp.task('compass', function() {
  gulp.src('./source/assets/stylesheets/*.scss')
    .pipe(compass({
      project: path.join(__dirname, './source/assets/stylesheets'),
        sass: 'sass',
        css: __dirname + '/build/source/assets/stylesheets',
        debug: true,
        sourcemap: true
    }))
    .pipe(gulp.dest('app/build/assets'));
});

If anyone could help out it would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant