Skip to content

Instantly share code, notes, and snippets.

@joaoqalves
Created November 25, 2018 20:26
Show Gist options
  • Save joaoqalves/e031b942228afdf8577f60662ee81981 to your computer and use it in GitHub Desktop.
Save joaoqalves/e031b942228afdf8577f60662ee81981 to your computer and use it in GitHub Desktop.
Error libxmljs
 ~/j/uber-cities    master  npm install  INT(-2) ↵  jeffrey   21:25:07
> [email protected] install /Users/joaoqalves/j/uber-cities/node_modules/libxmljs
> node-pre-gyp install --fallback-to-build --loglevel http
node-pre-gyp http GET https://github.com/libxmljs/libxmljs/releases/download/v0.19.0/node-v67-darwin-x64.tar.gz
node-pre-gyp http 404 https://github.com/libxmljs/libxmljs/releases/download/v0.19.0/node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://github.com/libxmljs/libxmljs/releases/download/v0.19.0/node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://github.com/libxmljs/libxmljs/releases/download/v0.19.0/node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://github.com/libxmljs/libxmljs/releases/download/v0.19.0/node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gypgyp ERR!ERR! configure errorconfigure error
gyp ERR! stack Error: Command failed: /Users/joaoqalves/.pyenv/shims/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gypgyp ERR! stack File "<string>", line 1
ERR!gyp stackERR! Error: Command failed: /Users/joaoqalves/.pyenv/shims/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gypstack import sys; print "%s.%s.%s" % sys.version_info[:3];
ERR! gypstack File "<string>", line 1
ERR!gyp stackERR! ^
stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gypgyp ERR!ERR! stackstack SyntaxError: invalid syntax
^
gypgyp ERR!ERR! stack SyntaxError: invalid syntax
gypstack
ERR! stackgyp
gypERR! ERR!stack at ChildProcess.exithandler (child_process.js:294:12)
stackgyp at ChildProcess.exithandler (child_process.js:294:12)
ERR!gyp stack at ChildProcess.emit (events.js:182:13)
ERR!gyp stack at ChildProcess.emit (events.js:182:13)
ERR!gyp stackERR! at maybeClose (internal/child_process.js:978:16)
stackgyp at maybeClose (internal/child_process.js:978:16)
ERR!gyp stack at Socket.stream.socket.on (internal/child_process.js:395:11)
ERR! gypstack ERR! at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
stack at Socket.emit (events.js:182:13)
gyp ERR! stack at Pipe._handle.close (net.js:616:12)
gypgyp ERR!ERR! SystemSystem Darwin 17.7.0
Darwin 17.7.0
gypgyp ERR!ERR! commandcommand "/usr/local/Cellar/node/11.2.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--loglevel=http" "--module=/Users/joaoqalves/j/uber-cities/node_modules/libxmljs/build/Release/xmljs.node" "--module_name=xmljs" "--module_path=/Users/joaoqalves/j/uber-cities/node_modules/libxmljs/build/Release"
"/usr/local/Cellar/node/11.2.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--loglevel=http" "--module=/Users/joaoqalves/j/uber-cities/node_modules/libxmljs/build/Release/xmljs.node" "--module_name=xmljs" "--module_path=/Users/joaoqalves/j/uber-cities/node_modules/libxmljs/build/Release"
gyp gypERR! cwdERR! /Users/joaoqalves/j/uber-cities/node_modules/libxmljs
cwdgyp /Users/joaoqalves/j/uber-cities/node_modules/libxmljs
gypERR! node -v v11.2.0
ERR! gypnode -v v11.2.0
ERR! node-gyp -v v3.8.0
gyp gypERR! node-gyp -v v3.8.0
ERR! not okgyp
ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/11.2.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --loglevel=http --module=/Users/joaoqalves/j/uber-cities/node_modules/libxmljs/build/Release/xmljs.node --module_name=xmljs --module_path=/Users/joaoqalves/j/uber-cities/node_modules/libxmljs/build/Release' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/joaoqalves/j/uber-cities/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:978:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/11.2.0/bin/node" "/Users/joaoqalves/j/uber-cities/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--loglevel" "http"
node-pre-gyp ERR! cwd /Users/joaoqalves/j/uber-cities/node_modules/libxmljs
node-pre-gyp ERR! node -v v11.2.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/11.2.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --loglevel=http --module=/Users/joaoqalves/j/uber-cities/node_modules/libxmljs/build/Release/xmljs.node --module_name=xmljs --module_path=/Users/joaoqalves/j/uber-cities/node_modules/libxmljs/build/Release' (1)
npm WARN [email protected] requires a peer of [email protected] || 16.x but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] || ^15.0.1 || ^16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] || 16.x but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@>= 0.14.0 < 17.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build --loglevel http`
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! /Users/joaoqalves/.npm/_logs/2018-11-25T20_25_22_274Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment