broccoli-livingstyleguide icon indicating copy to clipboard operation
broccoli-livingstyleguide copied to clipboard

Error on compilation

Open AlexandreBroudin opened this issue 10 years ago • 3 comments

This is what I got in terminal bundle exec livingstyleguide compile app/styles/styleguide.lsg /Users/Alexandre/Sites/project/tmp/living_style_guide_compiler-tmp_dest_dir-UcQsq2LD.tmp/templates/styleguide/index.hbs broccoli-livingstyleguide exited with error code 10 [string exception]

AlexandreBroudin avatar Dec 14 '14 00:12 AlexandreBroudin

Could you please try to run bundle exec livingstyleguide compile app/styles/styleguide.lsg tmp.html in the command line. It may output a more detailed error description.

(Currently handing over errors from the style guide generator to the Broccoli plugin is not supported.)

hagenburger avatar Dec 14 '14 11:12 hagenburger

I get the same error following the Ember-CLI instructions.

bundle exec livingstyleguide compile app/styles/styleguide.lsg /Users/luis/Sites/test-cli/tmp/living_style_guide_compiler-tmp_dest_dir-qsfJDzc0.tmp/assets/styleguide.html
broccoli-livingstyleguide exited with error code 10 [string exception]
Error: broccoli-livingstyleguide exited with error code 10 [string exception]
    at wrapStringErrors (/Users/luis/Sites/test-cli/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:18:11)
    at lib$rsvp$$internal$$tryCatch (/Users/luis/Sites/test-cli/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:493:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/luis/Sites/test-cli/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:505:17)
    at lib$rsvp$$internal$$publish (/Users/luis/Sites/test-cli/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:476:11)
    at lib$rsvp$$internal$$publishRejection (/Users/luis/Sites/test-cli/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:419:7)
    at lib$rsvp$asap$$flush (/Users/luis/Sites/test-cli/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
    at process._tickCallback (node.js:355:11)

bluSCALE4 avatar Nov 06 '15 23:11 bluSCALE4

I could not reproduce this yet. Would it be possible to provide an example project?

Also: Which versions of livingstyleguide, broccoli-livingstyleguide, ember-cli, and broccoli are you using?

hagenburger avatar Nov 12 '15 09:11 hagenburger