Skip to content

compass.rb on project directory #139

@oroszlanyzsolt

Description

@oroszlanyzsolt

I have a simple project with some scss files, I was using compass without config.rb to compile it to css.
But than I diceded to use one config.rb and I have named it compass.rb; and then the nightmare started.
I have reinstalled node, redownload all the dependencies nothing worked. In nutshel the misterious error:

    throw errnoException(err, 'spawn');
    ^

Error: spawn UNKNOWN
    at exports._errnoException (util.js:873:11)
    at ChildProcess.spawn (internal/child_process.js:298:11)
    at exports.spawn (child_process.js:362:9)
    at module.exports (<project_dir>\node_modules\gulp-compass\lib\compass.js:149:15)
    at DestroyableTransform.compile [as _flush] (<project_dir>\node_modules\gulp-compass\lib\index.js:60:5)
    at DestroyableTransform.<anonymous> (<project_dir>\node_modules\gulp-compass\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:135:12)
    at DestroyableTransform.g (events.js:260:16)
    at emitNone (events.js:72:20)
    at DestroyableTransform.emit (events.js:166:7)
    at finishMaybe (<project_dir>\node_modules\gulp-compass\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:3
71:12)

was caused by naming composer configuration file to compass.rb. After renaming it to something else like compassconfig.rb everything worked flawlesly.
I do not know it is a bug but is should be documented somewhere that you can not name your gulp-composer configuration file to composer.rb because it will fail to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions