Skip to content

Instantly share code, notes, and snippets.

@eternal44
Created February 3, 2016 01:21
Show Gist options
  • Save eternal44/c7eaff365e65f358dbeb to your computer and use it in GitHub Desktop.
Save eternal44/c7eaff365e65f358dbeb to your computer and use it in GitHub Desktop.
Error: 'node-pre-gyp install --fallback-to-build'
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/james/.nvm/versions/node/v5.4.1/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/james/js_lab/makerSquare/4week/MKS-SF-shortly-express/node_modules/sqlite3/lib/binding/node-v47-linux-ia32/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/james/js_lab/makerSquare/4week/MKS-SF-shortly-express/node_modules/sqlite3/lib/binding/node-v47-linux-ia32 --python=/usr/bin/python2.6' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/james/js_lab/makerSquare/4week/MKS-SF-shortly-express/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:821:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Linux 3.5.0-54-generic
node-pre-gyp ERR! command "/home/james/.nvm/versions/node/v5.4.1/bin/node" "/home/james/js_lab/makerSquare/4week/MKS-SF-shortly-express/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/james/js_lab/makerSquare/4week/MKS-SF-shortly-express/node_modules/sqlite3
node-pre-gyp ERR! node -v v5.4.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.14
node-pre-gyp ERR! not ok
Failed to execute '/home/james/.nvm/versions/node/v5.4.1/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/james/js_lab/makerSquare/4week/MKS-SF-shortly-express/node_modules/sqlite3/lib/binding/node-v47-linux-ia32/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/james/js_lab/makerSquare/4week/MKS-SF-shortly-express/node_modules/sqlite3/lib/binding/node-v47-linux-ia32 --python=/usr/bin/python2.6' (1)
npm ERR! Linux 3.5.0-54-generic
npm ERR! argv "/home/james/.nvm/versions/node/v5.4.1/bin/node" "/home/james/.nvm/versions/node/v5.4.1/bin/npm" "install"
npm ERR! node v5.4.1
npm ERR! npm v3.3.12
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/james/js_lab/makerSquare/4week/MKS-SF-shortly-express/npm-debug.log
@Patronics
Copy link

Did you ever find a fix to this error? I'm encountering a similar error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment