Closed James1x0 closed 9 years ago
Well, I have a similar error, but with Node v0.11.14 (and Fedora 20 64 bits)
* A LOT OF ERROR MESSAGES LIKE THESE *
^
../node-expat.cc: In static member function ‘static v8::Handlev8::Value Parser::Resume(const int&)’:
../node-expat.cc:237:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../node-expat.cc: In static member function ‘static v8::Handlev8::Value Parser::Stop(const int&)’:
../node-expat.cc:220:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../node-expat.cc: In static member function ‘static v8::Handlev8::Value Parser::GetError(const int&)’:
../node-expat.cc:208:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../node-expat.cc: In static member function ‘static v8::Handlev8::Value Parser::SetEncoding(const int&)’:
../node-expat.cc:189:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../node-expat.cc: In static member function ‘static v8::Handlev8::Value Parser::Parse(const int&)’:
../node-expat.cc:139:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *\ [Release/obj.target/node_expat/node-expat.o] Error 1
make: Leaving directory /home/user/node_modules/office/node_modules/xml2json/node_modules/node-expat/build' gyp ERR! build error gyp ERR! stack Error:
make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/user/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1059:12)
gyp ERR! System Linux 3.16.7-200.fc20.x86_64
gyp ERR! command "node" "/home/user/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/node_modules/office/node_modules/xml2json/node_modules/node-expat
gyp ERR! node -v v0.11.14
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.16.7-200.fc20.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "office"
npm ERR! node v0.11.14
npm ERR! npm v2.0.0
npm ERR! code ELIFECYCLE
npm ERR! node-expat@2.0.0 install: node-gyp rebuild
npm ERR! Exit status 1
@q2dg https://github.com/dbashford/textract is a lot better anyways.