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

docpad run crashes while rendering foundation.css.scss #2

Open
saberone opened this issue Apr 9, 2013 · 4 comments
Open

docpad run crashes while rendering foundation.css.scss #2

saberone opened this issue Apr 9, 2013 · 4 comments

Comments

@saberone
Copy link

saberone commented Apr 9, 2013

I'm checking out your git project for DocPad + zurb, and unfortunately I'm not able to get it to work. I have an up to date node (node.js 0.10.3) installation and the latest DocPad ([email protected]). Sass version is : Sass 3.2.7 (Media Mark). I'm on OSX.

When I do a "docpad run" from the commandline I get the following message:

info: Welcome to DocPad v6.30.2
info: Plugins: cleanurls, coffeescript, eco, jade, livereload, marked, partials, related, sass, stylus, text
info: Environment: development
info: DocPad listening to http://localhost:9778/ on directory /Users/saber/Dev/zurb-foundation.docpad/out
info: LiveReload listening to new socket on channel /docpad-livereload with log level 1
info: Generating...
warning: Something went wrong while rendering: /Users/saber/Dev/zurb-foundation.docpad/src/documents/styles/foundation.css.scss
error: Something went wrong with the action
error: An error occured:
Error: exited with a non-zero status code
    at ChildProcess.<anonymous> (/Users/saber/Dev/zurb-foundation.docpad/node_modules/docpad-plugin-sass/node_modules/bal-util/out/lib/modules.js:114:17)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:754:12)
@thetechnaddict
Copy link

Same issue here

@freality
Copy link

I had the same issue. This skeleton is based on Foundation 3.x. Foundation 4.x (current) does not have foundation/common/ratios. I'm guessing ratios deals with typography, which Foundation removed in 4.x. commenting out @import "foundation/common/ratios"; in src/files/vendor/zurb-foundation/sass/_settings.scss will allow docpad to compile and work with (seemingly) no issue.

@thetechnaddict
Copy link

Thanks frealty; duly commented, but now get this...

Something went wrong while rendering: Sites/zurb-foundation.docpad/src/documents/styles/foundation.css.scss
error: Something went wrong with the action
error: An error occured:
Error: exited with a non-zero status code
at ChildProcess. (Sites/zurb-foundation.docpad/node_modules/docpad-plugin-sass/node_modules/bal-util/out/lib/modules.js:117:17)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:754:12)

@axyz
Copy link
Owner

axyz commented Oct 29, 2013

sorry for the long wait... I'm now building a foundation 4.3.2 branch and i'll merge it onto master as soon i'll resolve a little JS problem: it just do not see foundation() function, maybe is some kind of conflict with zepto or, who knows, some silly typo. I've done it more lightweight using nodesass, coffescript(quite optional) and eco (I prefer handlebars politics in separation between logic and content... but for now i'll use eco, then later i'll evaluate if it's a good idea to switch to hb.

next plans: a good min and lint and maybe a basic usage of collection (automatic menu with pages and blog post but i'd like to keep it as simple and not specific as possible)

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

4 participants