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

compass.rb on project directory #139

Open
oroszlanyzsolt opened this issue Aug 1, 2016 · 0 comments
Open

compass.rb on project directory #139

oroszlanyzsolt opened this issue Aug 1, 2016 · 0 comments

Comments

@oroszlanyzsolt
Copy link

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.

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