Skip to content
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

Not able to install #34

Open
faizanvahevaria opened this issue Feb 6, 2020 · 2 comments
Open

Not able to install #34

faizanvahevaria opened this issue Feb 6, 2020 · 2 comments

Comments

@faizanvahevaria
Copy link

I am installing in my nodejs project
using 'npm i libxml-xsd' command.

I am getting following errors...
Please help me to resolve this error....

[email protected] install /home/vi109/Faizan-Vahevaria/StarUML/staruml-cefact/node_modules/libxmljs-mt
node-gyp rebuild

make: Entering directory '/home/vi109/Faizan-Vahevaria/StarUML/staruml-cefact/node_modules/libxmljs-mt/build'
CXX(target) Release/obj.target/xmljs/src/libxmljs.o
../src/libxmljs.cc: In function ‘void libxmljs::adjustMem(ssize_t)’:
../src/libxmljs.cc:69:17: error: ‘IsDead’ is not a member of ‘v8::V8’
if (v8::V8::IsDead())
^~~~~~
xmljs.target.mk:167: recipe for target 'Release/obj.target/xmljs/src/libxmljs.o' failed
make: *** [Release/obj.target/xmljs/src/libxmljs.o] Error 1
make: Leaving directory '/home/vi109/Faizan-Vahevaria/StarUML/staruml-cefact/node_modules/libxmljs-mt/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/vi109/.npm-global/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.0.0-37-generic
gyp ERR! command "/usr/bin/node" "/home/vi109/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/vi109/Faizan-Vahevaria/StarUML/staruml-cefact/node_modules/libxmljs-mt
gyp ERR! node -v v10.17.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/vi109/.npm/_logs/2020-02-06T13_15_25_283Z-debug.log

@ipratico
Copy link

ipratico commented Jun 3, 2020

Same error here. I want to migrate from node v8.12 to v12.18 but this library don't build. Anyone can help?

@ipratico
Copy link

@faizanvahevaria FYI: I'm currently trying this library libxmljs2-xsd, which is presented as an "XSD validation for node.js 14.x using libxml via libxmljs2"

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