svg-sprite / gulp-svg-sprite

SVG sprites & stacks galore — Gulp plugin wrapping around svg-sprite that reads in a bunch of SVG files, optimizes them and creates SVG sprites and CSS resources in various flavours
MIT License
648 stars 43 forks source link

What are the system requirements for this plugin? #69

Closed kasienna closed 7 years ago

kasienna commented 7 years ago

I'm working with gulp-svg-sprites and as far as it was on my machine it was fine, but then remote gitlab build does not generate svg sprite file at all. Could it be caused by lack of some programs installed on the machine, f.e. imagemagick?

jkphl commented 7 years ago

@kasienna I'm sorry but I don't think I can add anything of value to this question. Node respectively npm should take care of any dependencies needed by svg-sprite / gulp-svg-sprite. Did you try to increase the log level to "debug"? What's the output?

Maybe an idea (at least this is true for our servers): In case you are using a hardened Linux kernel, you might have to adjust the file permissions and / or PaX features of some binaries (especially the PhantomJS binary).

Sorry I cannot help you further. Please let me know if you succeed. Thanks.

kasienna commented 7 years ago

Thanks, I was suspecting that it might be something with PhantomJS as well

jkphl commented 7 years ago

In my experience, if it's really an issue with PhantomJS you should be able to so see something in the server logs (e.g. security related logs).