8000 npm install iconizr [-g] fails every time · Issue #13 · jkphl/node-iconizr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

npm install iconizr [-g] fails every time #13

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

Closed
danielbayley opened this issue Jun 16, 2015 · 5 comments
Closed

npm install iconizr [-g] fails every time #13

danielbayley opened this issue Jun 16, 2015 · 5 comments

Comments

@danielbayley
Copy link

I can't install this via npm at all, either locally or -globally. Ideally I'd like to use it from the CL as mentioned in #7.

@jkphl
Copy link
Owner
jkphl commented Jun 16, 2015

I'm sorry, but as long as you don't provide any details (platform, version, error messages etc ) I'm not able to help you.

@danielbayley
Copy link
Author

Sorry.

OS X Yosemite 10.10.3
node v0.12.4 installed via homebrew v0.9.5
npm v2.10.1

Potentially relevant parts from env dump;

SHELL=/bin/bash
PATH=./node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/Dan/.gem/ruby/2.0.0/bin
NODE_ENV=production

Command npm i -g iconizr takes a good few minutes and produces;

> spawn-sync@1.0.11 postinstall /usr/local/lib/node_modules/iconizr/node_modules/pngcrush-bin/node_modules/bin-wrapper/node_modules/bin-check/node_modules/spawn-sync
> node postinstall


> spawn-sync@1.0.11 postinstall /usr/local/lib/node_modules/iconizr/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/bin-check/node_modules/spawn-sync
> node postinstall


> spawn-sync@1.0.11 postinstall /usr/local/lib/node_modules/iconizr/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/bin-check/node_modules/spawn-sync
> node postinstall

-
> phantomjs@1.9.17 install /usr/local/lib/node_modules/iconizr/node_modules/svg2png/node_modules/phantomjs
> node install.js

Download already available at /var/folders/rg/4lc94q1x1_xd89qsnjdkgsjw0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip
Extracting zip contents
Removing /usr/local/lib/node_modules/iconizr/node_modules/svg2png/node_modules/phantomjs/lib/phantom
Copying extracted folder /var/folders/rg/4lc94q1x1_xd89qsnjdkgsjw0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip-extract-1434497315857/phantomjs-1.9.8-macosx -> /usr/local/lib/node_modules/iconizr/node_modules/svg2png/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /usr/local/lib/node_modules/iconizr/node_modules/svg2png/node_modules/phantomjs/lib/phantom/bin/phantomjs
npm WARN engine svg-cleaner@0.0.4: wanted: {"node":">=0.6.0 <0.12"} (current: {"node":"0.12.4","npm":"2.10.1"})
|
> pngquant-bin@2.0.3 postinstall /usr/local/lib/node_modules/iconizr/node_modules/pngquant-bin
> node lib/install.js

  ✔ pngquant pre-build test passed successfully
npm WARN deprecated CSSselect@0.7.0: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'

> pngcrush-bin@2.2.1 postinstall /usr/local/lib/node_modules/iconizr/node_modules/pngcrush-bin
> node lib/install.js

  ✔ pngcrush pre-build test passed successfully

> optipng-bin@2.0.4 postinstall /usr/local/lib/node_modules/iconizr/node_modules/optipng-bin
> node lib/install.js

  ✔ optipng pre-build test passed successfully

> fibers@1.0.5 install /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/make-sync/node_modules/fibers
> node ./build.js

child_process: customFds option is deprecated, use stdio instead.
  CXX(target) Release/obj.target/fibers/src/fibers.o
  CXX(target) Release/obj.target/fibers/src/coroutine.o
  CC(target) Release/obj.target/fibers/src/libcoro/coro.o
  SOLINK_MODULE(target) Release/fibers.node
  SOLINK_MODULE(target) Release/fibers.node: Finished
Installed in `/usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/make-sync/node_modules/fibers/bin/darwin-x64-v8-3.28/fibers.node`

> weak@0.2.2 install /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode/node_modules/weak
> node-gyp rebuild

  CXX(target) Release/obj.target/weakref/src/weakref.o
../src/weakref.cc:58:10: error: no viable conversion from
      'Persistent<v8::Object>' to 'Handle<v8::Object>'
  return cont->target;
         ^~~~~~~~~~~~
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:196:26: note: candidate
      constructor (the implicit copy constructor) not viable: no known
      conversion from 'Persistent<v8::Object>' to 'const v8::Handle<v8::Object>
      &' for 1st argument
template <class T> class Handle {
                         ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:213:32: note: candidate
      template ignored: could not match 'Handle' against 'Persistent'
  template <class S> V8_INLINE Handle(Handle<S> that)
                               ^
../src/weakref.cc:69:10: error: no viable conversion from
      'Persistent<v8::Array>' to 'Handle<v8::Array>'
  return cont->callbacks;
         ^~~~~~~~~~~~~~~
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:196:26: note: candidate
      constructor (the implicit copy constructor) not viable: no known
      conversion from 'Persistent<v8::Array>' to 'const v8::Handle<v8::Array> &'
      for 1st argument
template <class T> class Handle {
                         ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:213:32: note: candidate
      template ignored: could not match 'Handle' against 'Persistent'
  template <class S> V8_INLINE Handle(Handle<S> that)
                               ^
../src/weakref.cc:81:45: error: unknown type name 'AccessorInfo'
                                      const AccessorInfo& info) {
                                            ^
../src/weakref.cc:82:3: error: calling a protected constructor of class
      'v8::HandleScope'
  UNWRAP
  ^
../src/weakref.cc:74:15: note: expanded from macro 'UNWRAP'
  HandleScope scope;                      \
              ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: note: declared
      protected here
  V8_INLINE HandleScope() {}
            ^
../src/weakref.cc:89:45: error: unknown type name 'AccessorInfo'
                                      const AccessorInfo& info) {
                                            ^
../src/weakref.cc:90:3: error: calling a protected constructor of class
      'v8::HandleScope'
  UNWRAP
  ^
../src/weakref.cc:74:15: note: expanded from macro 'UNWRAP'
  HandleScope scope;                      \
              ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: note: declared
      protected here
  V8_INLINE HandleScope() {}
            ^
../src/weakref.cc:97:46: error: unknown type name 'AccessorInfo'
                                       const AccessorInfo& info) {
                                             ^
../src/weakref.cc:98:10: error: calling a protected constructor of class
      'v8::HandleScope'
  return HandleScope().Close(Integer::New(None));
         ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: note: declared
      protected here
  V8_INLINE HandleScope() {}
            ^
../src/weakref.cc:98:24: error: no member named 'Close' in 'v8::HandleScope'
  return HandleScope().Close(Integer::New(None));
         ~~~~~~~~~~~~~ ^
../src/weakref.cc:98:47: error: too few arguments to function call, expected 2,
      have 1
  return HandleScope().Close(Integer::New(None));
                             ~~~~~~~~~~~~     ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:2012:3: note: 'New' declared
      here
  static Local<Integer> New(Isolate* isolate, int32_t value);
  ^
../src/weakref.cc:103:48: error: unknown type name 'AccessorInfo'
                                         const AccessorInfo& info) {
                                               ^
../src/weakref.cc:104:3: error: calling a protected constructor of class
      'v8::HandleScope'
  UNWRAP
  ^
../src/weakref.cc:74:15: note: expanded from macro 'UNWRAP'
  HandleScope scope;                      \
              ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: note: declared
      protected here
  V8_INLINE HandleScope() {}
            ^
../src/weakref.cc:105:53: error: too few arguments to function call, expected 2,
      have 1
  return Boolean::New(!dead && obj->Delete(property));
         ~~~~~~~~~~~~                               ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:6183:1: note: 'New' declared
      here
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
../src/weakref.cc:110:47: error: unknown type name 'AccessorInfo'
                                        const AccessorInfo& info) {
                                              ^
../src/weakref.cc:111:3: error: calling a protected constructor of class
      'v8::HandleScope'
  UNWRAP
  ^
../src/weakref.cc:74:15: note: expanded from macro 'UNWRAP'
  HandleScope scope;                      \
              ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: note: declared
      protected here
  V8_INLINE HandleScope() {}
            ^
../src/weakref.cc:118:47: error: unknown type name 'AccessorInfo'
                                        const AccessorInfo& info) {
                                              ^
../src/weakref.cc:119:3: error: calling a protected constructor of class
      'v8::HandleScope'
  UNWRAP
  ^
../src/weakref.cc:74:15: note: expanded from macro 'UNWRAP'
  HandleScope scope;                      \
              ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: note: declared
      protected here
  V8_INLINE HandleScope() {}
            ^
../src/weakref.cc:126:48: error: unknown type name 'AccessorInfo'
                                         const AccessorInfo& info) {
                                               ^
../src/weakref.cc:127:10: error: calling a protected constructor of class
      'v8::HandleScope'
  return HandleScope().Close(Integer::New(None));
         ^
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: note: declared
      protected here
  V8_INLINE HandleScope() {}
            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/weakref/src/weakref.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode/node_modules/weak
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok 

> libxmljs@0.8.1 install /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/libxmljs
> node-gyp rebuild

  CC(target) Release/obj.target/libxml/vendor/libxml/buf.o
  CC(target) Release/obj.target/libxml/vendor/libxml/catalog.o
  CC(target) Release/obj.target/libxml/vendor/libxml/chvalid.o
  CC(target) Release/obj.target/libxml/vendor/libxml/dict.o
  CC(target) Release/obj.target/libxml/vendor/libxml/encoding.o
  CC(target) Release/obj.target/libxml/vendor/libxml/entities.o
  CC(target) Release/obj.target/libxml/vendor/libxml/error.o
  CC(target) Release/obj.target/libxml/vendor/libxml/globals.o
  CC(target) Release/obj.target/libxml/vendor/libxml/hash.o
  CC(target) Release/obj.target/libxml/vendor/libxml/HTMLparser.o
  CC(target) Release/obj.target/libxml/vendor/libxml/HTMLtree.o
  CC(target) Release/obj.target/libxml/vendor/libxml/legacy.o
  CC(target) Release/obj.target/libxml/vendor/libxml/list.o
  CC(target) Release/obj.target/libxml/vendor/libxml/parser.o
../vendor/libxml/parser.c:13492:43: warning: passing 'const xmlChar *' (aka
      'const unsigned char *') to parameter of type 'const char *' converts
      between pointers to integer types with different sign [-Wpointer-sign]
        hdlr = xmlFindCharEncodingHandler(doc->encoding);
                                          ^~~~~~~~~~~~~
../vendor/libxml/include/libxml/encoding.h:175:42: note: passing argument to
      parameter 'name' here
        xmlFindCharEncodingHandler      (const char *name);
                                                     ^
1 warning generated.
  CC(target) Release/obj.target/libxml/vendor/libxml/parserInternals.o
  CC(target) Release/obj.target/libxml/vendor/libxml/pattern.o
  CC(target) Release/obj.target/libxml/vendor/libxml/relaxng.o
  CC(target) Release/obj.target/libxml/vendor/libxml/SAX2.o
  CC(target) Release/obj.target/libxml/vendor/libxml/SAX.o
  CC(target) Release/obj.target/libxml/vendor/libxml/tree.o
  CC(target) Release/obj.target/libxml/vendor/libxml/threads.o
  CC(target) Release/obj.target/libxml/vendor/libxml/uri.o
  CC(target) Release/obj.target/libxml/vendor/libxml/valid.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xinclude.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xlink.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlIO.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlmemory.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlmodule.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlreader.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlregexp.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlsave.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlschemas.o
../vendor/libxml/xmlschemas.c:24203:10: warning: explicitly assigning value of
      variable of type 'xmlSchemaValType' to itself [-Wself-assign]
        valType = valType;
        ~~~~~~~ ^ ~~~~~~~
warning generated.
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlschemastypes.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlstring.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlunicode.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xmlwriter.o
  CC(target) Release/obj.target/libxml/vendor/libxml/xpath.o
../vendor/libxml/xpath.c:12402:13: warning: comparison of constant
      'XML_NAMESPACE_DECL' (18) with expression of type 'xmlXPathTypeVal' is
      always false [-Wtautological-constant-out-of-range-compare]
                        if (type == XML_NAMESPACE_DECL)
                            ~~~~ ^  ~~~~~~~~~~~~~~~~~~
In file included from ../vendor/libxml/xpath.c:185:
../vendor/libxml/trionan.c:194:1: warning: unused function
      'trio_is_special_quantity' [-Wunused-function]
trio_is_special_quantity
^
../vendor/libxml/trionan.c:218:1: warning: unused function 'trio_is_negative'
      [-Wunused-function]
trio_is_negative
^
3 warnings generated.
  CC(target) Release/obj.target/libxml/vendor/libxml/xpointer.o
  LIBTOOL-STATIC Release/xml.a
  CXX(target) Release/obj.target/xmljs/src/libxmljs.o
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:11:34: error: expected class name
class XmlDocument : public node::ObjectWrap {
                                 ^
../src/xml_document.h:42:44: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> New(const v8::Arguments& args);
                                           ^~~~~~~~~~~~~
                                           v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:43:49: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> FromHtml(const v8::Arguments& args);
                                                ^~~~~~~~~~~~~
                                                v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:44:48: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> FromXml(const v8::Arguments& args);
                                               ^~~~~~~~~~~~~
                                               v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:45:47: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> SetDtd(const v8::Arguments& args);
                                              ^~~~~~~~~~~~~
                                              v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:48:45: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Root(const v8::Arguments& args);
                                            ^~~~~~~~~~~~~
                                            v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:49:49: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Encoding(const v8::Arguments& args);
                                                ^~~~~~~~~~~~~
                                                v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:50:48: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Version(const v8::Arguments& args);
                                               ^~~~~~~~~~~~~
                                               v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:51:44: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Doc(const v8::Arguments& args);
                                           ^~~~~~~~~~~~~
                                           v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:52:47: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Errors(const v8::Arguments& args);
                                              ^~~~~~~~~~~~~
                                              v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:53:49: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> ToString(const v8::Arguments& args);
                                                ^~~~~~~~~~~~~
                                                v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:54:49: error: no type named 'Arguments' in namespace 'v8';
      did you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Validate(const v8::Arguments& args);
                                                ^~~~~~~~~~~~~
                                                v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:8:
../src/xml_document.h:30:9: error: use of undeclared identifier 'Ref'; did you
      mean 'ref'?
        Ref();
        ^~~
        ref
../src/xml_document.h:29:10: note: 'ref' declared here
    void ref() {
         ^
../src/xml_document.h:34:9: error: use of undeclared identifier 'Unref'; did you
      mean 'unref'?
        Unref();
        ^~~~~
        unref
../src/xml_document.h:33:10: note: 'unref' declared here
    void unref() {
         ^
In file included from ../src/libxmljs.cc:9:
../src/xml_node.h:9:30: error: expected class name
class XmlNode : public node::ObjectWrap {
                             ^
../src/xml_node.h:25:44: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Doc(const v8::Arguments& args);
                                           ^~~~~~~~~~~~~
                                           v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:9:
../src/xml_node.h:26:50: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Namespace(const v8::Arguments& args);
                                                 ^~~~~~~~~~~~~
                                                 v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:9:
../src/xml_node.h:27:51: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Namespaces(const v8::Arguments& args);
                                                  ^~~~~~~~~~~~~
                                                  v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/libxmljs.cc:9:
../src/xml_node.h:28:47: error: no type named 'Arguments' in namespace 'v8'; did
      you mean 'v8::internal::Arguments'?
    static v8::Handle<v8::Value> Parent(const v8::Arguments& args);
                                              ^~~~~~~~~~~~~
                                              v8::internal::Arguments
/Users/Dan/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/xmljs/src/libxmljs.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/libxmljs
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok 
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "i" "-g" "iconizr"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1
npm ERR! code ELIFECYCLE

npm ERR! weak@0.2.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the weak@0.2.2 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the weak package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls weak
npm ERR! There is likely additional logging output above.
^R      
echo sdf       
echo ENDED

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/Dan/Work/Projects/GitHub/setup/ansible/modules/npm-debug.log







npm-debug.log contains (from the first error line onward, since it's ridiculously long!);

160438 error Darwin 14.3.0
160439 error 
8000
argv "node" "/usr/local/bin/npm" "i" "-g" "iconizr"
160440 error node v0.12.4
160441 error npm  v2.10.1
160442 error code ELIFECYCLE
160443 error weak@0.2.2 install: `node-gyp rebuild`
160443 error Exit status 1
160444 error Failed at the weak@0.2.2 install script 'node-gyp rebuild'.
160444 error This is most likely a problem with the weak package,
160444 error not with npm itself.
160444 error Tell the author that this fails on your system:
160444 error     node-gyp rebuild
160444 error You can get their info via:
160444 error     npm owner ls weak
160444 error There is likely additional logging output above.
160445 verbose exit [ 1, true ]
160446 verbose unbuild lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode/node_modules/weak
160447 info preuninstall weak@0.2.2
160448 info uninstall weak@0.2.2
160449 verbose unbuild rmStuff weak@0.2.2 from /usr/local/lib/node_modules
160450 verbose unbuild rmStuff in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode/node_modules
160451 info postuninstall weak@0.2.2
160452 silly gentlyRm /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode/node_modules/weak is being purged from base /usr/local
160453 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode/node_modules/weak
160454 silly vacuum-fs purging /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode/node_modules/weak
160455 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode/node_modules
160456 verbose unbuild lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode
160457 info preuninstall dnode@1.0.5
160458 info uninstall dnode@1.0.5
160459 verbose unbuild rmStuff dnode@1.0.5 from /usr/local/lib/node_modules
160460 verbose unbuild rmStuff in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules
160461 info postuninstall dnode@1.0.5
160462 silly gentlyRm /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode is being purged from base /usr/local
160463 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode
160464 silly vacuum-fs purging /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules/dnode
160465 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom/node_modules
160466 verbose unbuild lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom
160467 info preuninstall phantom@0.5.7
160468 info uninstall phantom@0.5.7
160469 verbose unbuild rmStuff phantom@0.5.7 from /usr/local/lib/node_modules
160470 verbose unbuild rmStuff in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules
160471 info postuninstall phantom@0.5.7
160472 silly gentlyRm /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom is being purged from base /usr/local
160473 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom
160474 silly vacuum-fs purging /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules/phantom
160475 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync/node_modules
160476 verbose unbuild lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync
160477 info preuninstall phantom-sync@1.1.1
160478 info uninstall phantom-sync@1.1.1
160479 verbose unbuild rmStuff phantom-sync@1.1.1 from /usr/local/lib/node_modules
160480 verbose unbuild rmStuff in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules
160481 info postuninstall phantom-sync@1.1.1
160482 silly gentlyRm /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync is being purged from base /usr/local
160483 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync
160484 silly vacuum-fs purging /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/phantom-sync
160485 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules
160486 verbose unbuild lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/libxmljs
160487 info preuninstall libxmljs@0.8.1
160488 info uninstall libxmljs@0.8.1
160489 verbose unbuild rmStuff libxmljs@0.8.1 from /usr/local/lib/node_modules
160490 verbose unbuild rmStuff in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules
160491 info postuninstall libxmljs@0.8.1
160492 silly gentlyRm /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/libxmljs is being purged from base /usr/local
160493 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/libxmljs
160494 silly vacuum-fs purging /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules/libxmljs
160495 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite/node_modules
160496 verbose unbuild lib/node_modules/iconizr/node_modules/svg-sprite
160497 info preuninstall svg-sprite@0.3.2
160498 info uninstall svg-sprite@0.3.2
160499 verbose unbuild rmStuff svg-sprite@0.3.2 from /usr/local/lib/node_modules
160500 verbose unbuild rmStuff in /usr/local/lib/node_modules/iconizr/node_modules
160501 silly gentlyRm /usr/local/lib/node_modules/iconizr/node_modules/.bin/svg-sprite is being gently removed
160502 silly gentlyRm verifying /usr/local is an npm working directory
160503 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local
160504 silly gentlyRm deletion target /usr/local/lib/node_modules/iconizr/node_modules/.bin/svg-sprite is under /usr/local
160505 verbose gentlyRm vacuuming from /usr/local/lib/node_modules/iconizr/node_modules/.bin/svg-sprite up to /usr/local
160506 info postuninstall svg-sprite@0.3.2
160507 silly gentlyRm /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite is being purged from base /usr/local
160508 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite
160509 silly vacuum-fs purging /usr/local/lib/node_modules/iconizr/node_modules/svg-sprite
160510 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules/iconizr/node_modules
160511 verbose unbuild lib/node_modules/iconizr
160512 info preuninstall iconizr@0.2.3
160513 info uninstall iconizr@0.2.3
160514 verbose unbuild rmStuff iconizr@0.2.3 from /usr/local/lib/node_modules
160515 info postuninstall iconizr@0.2.3
160516 silly gentlyRm /usr/local/lib/node_modules/iconizr is being purged from base /usr/local
160517 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/iconizr
160518 silly vacuum-fs purging /usr/local/lib/node_modules/iconizr
160519 silly vacuum-fs quitting because other entries in /usr/local/lib/node_modules

Hope that helps, let me know if you need anything else.

@jkphl
Copy link
Owner
jkphl commented Jun 17, 2015

@danielbayley Ok, thanks for the details.

Well, it looks like you are suffering a similar problem as other Mac users did before, most likely caused by a dependency (gyp via libxmlns). As I'm not on a Mac (and only have little experience with that platform) I can't really help you. You might, however, be able to find a solution somewhere here in the github issues.

I did a complete rewrite of node-iconizr in the meantime, dropping that problematic dependency. While the new generation is already available in the dev branch, it's still fairly undocumented, unfortunately. You may try to use it (we already use it in production for quite a while), but you'd be on your own supportwise. You should be able to install without problems, though.

I hope this helped a little.

Cheers,
Joschi

@jkphl jkphl closed this as completed Jun 17, 2015
@danielbayley
Copy link
Author

I'll leave it for now then, until the node rewrite is the master branch and I can manage it with npm. I'll keep this repo starred in the mean time.

@jkphl
Copy link
Owner
jkphl commented Jun 17, 2015

👍

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

2 participants
0