docpad / docpad-plugin-sass

Adds support for the SASS and SCSS CSS pre-processors to DocPad. It also supports the Compass framework.
Other
13 stars 6 forks source link

Docpad Sass Plugin Error #28

Closed zfrankdesign closed 10 years ago

zfrankdesign commented 10 years ago

Hey there, I'm getting this error when running 'docpad run' now.. wondering if anyone has some idea whats going on.

$ docpad run
info: Welcome to DocPad v6.64.2 (local installation: /Users/zachfrank/Dev/mm/node_modules/docpad)
info: Contribute: http://docpad.org/docs/contribute
info: Plugins: eco, livereload, sass
info: Environment: development
info: DocPad listening to http://0.0.0.0:9778/ on directory /Users/zachfrank/Dev/mm/out
info: LiveReload listening to new socket on channel /docpad-livereload
info: Generating...
warning: Something went wrong while rendering: styles/app.css.scss
exited with a non-zero status code
error: Something went wrong with the action
error: An error occured: 
Error: exited with a non-zero status code
  at ChildProcess. (/Users/zachfrank/Dev/mm/node_modules/docpad-plugin-sass/node_modules/safeps/out/lib/safeps.js:165:23)
  at ChildProcess.EventEmitter.emit (events.js:98:17)
  at maybeClose (child_process.js:743:16)
  at Socket. (child_process.js:956:11)
  at Socket.EventEmitter.emit (events.js:95:17)
  at Pipe.close (net.js:465:12)

info: Shutting down... cya next time!

Here's my installed gems if that's any help.. wondering if I have the wrong version of sass?

* LOCAL GEMS *

bourbon (4.0.0) bundler (1.6.2) chunky_png (1.3.0) compass (0.12.6) foundation (1.0.4) fssm (0.2.10) neat (1.6.0) sass (3.3.5, 3.2.19) thor (0.19.1)

motionVector commented 10 years ago

I’m getting the same error.

motionVector commented 10 years ago

I still couldn’t solve this problem. The strange thing is that it occurred all of a sudden. I can’t remember that I changed anything. The same code runs fine on my computer at home. I even tried reinstalling Mavericks on my work computer, but I maybe shouldn’t have used the Migration Utility. The problem seems to have been transferred too. I already tried reinstalling Sass and Node. Any idea what causes this error?

zfrankdesign commented 10 years ago

I got it to work by downgrading sass..

motionVector commented 10 years ago

I tried downgrading to sass 3.1 before, but it didn’t work. Since my computer at home had no problem with the newest sass version, I thought that couldn’t be the problem. Interesting it worked for you.

balupton commented 10 years ago

Try again with the latest plugin version. If you get a comapss error, I've added instructions to the readme on how to fix it. Let me know if it is still an issue.