shakyShane / gulp-svg-sprites

Create SVG sprites or compile to <symbols>
MIT License
334 stars 45 forks source link

Install fails on v0.11.14 #64

Closed chodorowicz closed 8 years ago

chodorowicz commented 10 years ago

It starts with warning

npm WARN engine svg-cleaner@0.0.3: wanted: {"node":"0.6.x"} (current: {"node":"0.11.14","npm":"2.1.3"})

and then lot of errors appear

In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:11:34: error: expected class name
class XmlDocument : public node::ObjectWrap {
chodorowicz commented 10 years ago

I suppose that's the main issue - failing to install libxmljs@0.81

npm ERR! libxmljs@0.8.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the libxmljs@0.8.1 install script.
javangriff commented 9 years ago

Seems to be an issue with the libxml package. Are u guys on windows?

shakyShane commented 9 years ago

just an fyi, I'm actively looking at replacing the libxml dep for this reason

javangriff commented 9 years ago

Awesome, great to hear and thanks for creating such an amazing package

chodorowicz commented 9 years ago

Nope, that error was OSX (10.10). Cool, good to hear :)

patrickpietens commented 9 years ago

Same issue on OSX(10.10) running latest node stable version

d4ny0 commented 9 years ago

do you know if there is a fix coming? i can't install gulp-svg-sprites because of the libxmljs error :/

shakyShane commented 9 years ago

@D4ny0 - sorry about this.

to all: I am going to remove the libxml dependency, although I cannot give a timescale for it.

shakyShane commented 9 years ago

https://github.com/Leonidas-from-XIV/node-xml2js looks good for this.

khusseini commented 9 years ago

I think this is a very valuable plugin. Would love to see it in action on Windows machines. Can't limit our development machines to Unix system only.

petermac- commented 9 years ago

+1, I was able to get libxmljs installed on Windows 8.1 x64 after some troubleshooting but then I ran into errors with phantom-sync...anyone else having the same issue?

anatomic commented 9 years ago

@shakyShane has there been any movement on this issue as we're still seeing the problem with libxmljs on node 0.12.1?

soenkekluth commented 8 years ago

the current version 4.0.0 does not depend on libxml anymore. please update.