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

installation fails under node v4 #4

Open
drom opened this issue Dec 4, 2015 · 2 comments
Open

installation fails under node v4 #4

drom opened this issue Dec 4, 2015 · 2 comments

Comments

@drom
Copy link

drom commented Dec 4, 2015

run:

npm install libxml-xsd

Error:

drom@drom:~/work/a> npm install libxml-xsd
-
> [email protected] install /home/drom/work/a/node_modules/libxml-xsd/node_modules/libxmljs
> node-gyp rebuild

gyp: /usr/lib64/node_modules/npm/node_modules/node-gyp/addon-rpm.gypi not found (cwd: /home/drom/work/a/node_modules/libxml-xsd/node_modules/libxmljs) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib64/node_modules/npm/node_modules/node-gyp/lib/configure.js:358:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.1.12-1-default
gyp ERR! command "/usr/bin/node" "/usr/lib64/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/drom/work/a/node_modules/libxml-xsd/node_modules/libxmljs
gyp ERR! node -v v4.2.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
npm ERR! Linux 4.1.12-1-default
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "libxml-xsd"
npm ERR! node v4.2.1
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the libxmljs 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 libxmljs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/drom/work/a/npm-debug.log
@albanm
Copy link
Owner

albanm commented Dec 4, 2015

Can you check with latest release (0.4.0) ?

@drom
Copy link
Author

drom commented Dec 5, 2015

Yes, I am getting the same error with the latest version from NPM

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