This is a fork of Meteor.js to support not yet official enabled architectures with an universal bundler. Meteor is an ultra-simple, database-everywhere, data-on-the-wire, pure-Javascript web framework. Read additional information about this fork at:
npm install sqlite3
> sqlite3@3.1.4 install /tmp/demo/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v11-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.4 and node@0.10.45 (node-v11 ABI) (falling back to source compile with node-gyp)
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.45"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/demo/node_modules/sqlite3/.node-gyp"
make: Entering directory '/tmp/demo/node_modules/sqlite3/build'
make: *** No rule to make target '../.node-gyp/0.10.45/include/node/common.gypi', needed by 'Makefile'. Stop.
make: Leaving directory '/tmp/demo/node_modules/sqlite3/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/pi/meteor/meteor/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 4.4.13+
gyp ERR! command "/home/pi/meteor/meteor/dev_bundle/bin/node" "/home/pi/meteor/meteor/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/tmp/demo/node_modules/sqlite3/lib/binding/node-v11-linux-arm/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/tmp/demo/node_modules/sqlite3/lib/binding/node-v11-linux-arm"
gyp ERR! cwd /tmp/demo/node_modules/sqlite3
gyp ERR! node -v v0.10.45
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/pi/meteor/meteor/dev_bundle/bin/node /home/pi/meteor/meteor/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/tmp/demo/node_modules/sqlite3/lib/binding/node-v11-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/tmp/demo/node_modules/sqlite3/lib/binding/node-v11-linux-arm' (1)
node-pre-gyp ERR! stack at ChildProcess. (/tmp/demo/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:766:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
node-pre-gyp ERR! System Linux 4.4.13+
node-pre-gyp ERR! command "node" "/tmp/demo/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /tmp/demo/node_modules/sqlite3
node-pre-gyp ERR! node -v v0.10.45
node-pre-gyp ERR! node-pre-gyp -v v0.6.28
node-pre-gyp ERR! not ok
Failed to execute '/home/pi/meteor/meteor/dev_bundle/bin/node /home/pi/meteor/meteor/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/tmp/demo/node_modules/sqlite3/lib/binding/node-v11-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/tmp/demo/node_modules/sqlite3/lib/binding/node-v11-linux-arm' (1)
npm WARN enoent ENOENT, open '/tmp/demo/package.json'
npm WARN demo No description
npm WARN demo No repository field.
npm WARN demo No README data
npm WARN demo No license field.
npm ERR! Linux 4.4.13+
npm ERR! argv "node" "/home/pi/meteor/meteor/dev_bundle/bin/npm" "install" "sqlite3"
npm ERR! node v0.10.45
npm ERR! npm v3.9.6
npm ERR! code ELIFECYCLE
npm ERR! sqlite3@3.1.4 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@3.1.4 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 information on how to open an issue for this project with:
npm ERR! npm bugs sqlite3
npm ERR! Or if that isn't available, 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! /tmp/demo/npm-debug.log
If you run some build or npm installation and you fail like attached, than there is some known access restriction in running npm and node-pre-gyp.
This occurs sometimes when doing
sudo bash
and doing things as user root. Please run the job as different user or switch to root bysu
.Read more at: https://github.com/mapbox/node-pre-gyp/issues/222
FAIL Message like: