node.js - npm install sqlite3 takes forever -
i trying install sqlite3 use in node.js. however, installation takes forever , stuck @ bottom line below.
i have waited @ least 15 minutes happen.
i have tried installing --build-from-source
appended, same same result.
the device installing on raspberry pi, , rebooting not solve issue. other packages such socket.io
has been installed previously.
npm install sqlite3 npm warn package.json servergps@1.0.0 no description npm warn package.json servergps@1.0.0 no repository field. npm warn package.json servergps@1.0.0 no readme data / > sqlite3@3.0.8 install /home/pi/servergps/node_modules/sqlite3 > node-pre-gyp install --fallback-to-build child_process: customfds option deprecated, use stdio instead. child_process: customfds option deprecated, use stdio instead. make: entering directory '/home/pi/servergps/node_modules/sqlite3/build' action deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep release/obj/gen/sqlite-autoconf-3080900/sqlite3.c touch release/obj.target/deps/action_before_build.stamp cc(target) release/obj.target/sqlite3/gen/sqlite-autoconf-3080900/sqlite3.o
i suggest take @ dblite. wrapper sqlite.
var dblite = require('dblite'), db = dblite('file.name'); // asynchronous, fast, , ... db.query('select * table', function(err, rows) { // ... easy! });
npm install dblite
Comments
Post a Comment