Im finishing the first version of my Electron app and trying to build it, but it shows an error when building the project using the command:
> DuffGram@0.0.1 dist /Users/converge/Documents/workspace/DuffGram
> electron-builder
• electron-builder version=20.28.4
• electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies
To ensure your native dependencies are always matched electron version, simply add script `"postinstall": "electron-builder install-app-deps" to your `package.json`
• rebuilding native production dependencies platform=darwin arch=x64
Error: /usr/local/Cellar/node/10.11.0/bin/node exited with code 1
Output:
> sqlite3@4.0.3 install /Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3240000/sqlite3.c
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3240000/sqlite3.c
TOUCH Release/obj.target/deps/action_before_build.stamp
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3240000/sqlite3.o
CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3240000/sqlite3.o
LIBTOOL-STATIC Release/sqlite3.a
Failed to execute '/usr/local/Cellar/node/10.11.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64 --napi_version=3 --node_abi_napi=napi' (1)
CXX(target) Release/obj.target/node_sqlite3/src/database.o
CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
CXX(target) Release/obj.target/node_sqlite3/src/statement.o
SOLINK_MODULE(target) Release/node_sqlite3.node
COPY /Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64/node_sqlite3.node
TOUCH Release/obj.target/action_after_build.stamp
Error output:
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.3/electron-v3.0-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.0.3 and electron@3.0.6 (electron-v3.0 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Pre-built binaries not installable for sqlite3@4.0.3 and electron@3.0.6 (electron-v3.0 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Connection closed while downloading tarball file
rm: ./Release/.deps/Release/obj.target/sqlite3/gen/sqlite-autoconf-3240000/sqlite3.o.d.raw: No such file or directory
make: *** [Release/obj.target/sqlite3/gen/sqlite-autoconf-3240000/sqlite3.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/Cellar/node/10.11.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64" "--napi_version=3" "--node_abi_napi=napi"
gyp ERR! cwd /Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3
gyp ERR! node -v v10.11.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/10.11.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/lib/binding/electron-v3.0-darwin-x64 --napi_version=3 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/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:962:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/10.11.0/bin/node" "/Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/converge/Documents/workspace/DuffGram/node_modules/sqlite3
node-pre-gyp ERR! node -v v10.11.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@4.0.3 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@4.0.3 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/converge/.npm/_logs/2018-10-27T21_56_16_045Z-debug.log
../src/database.cc:49:17: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(this->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:63:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(handle(), 2, info);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:92:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:96:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(handle(), 2, argv);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:133:10: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(info.This(), Nan::New("filename").ToLocalChecked(), info[0].As<String>(), ReadOnly);
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:134:10: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(info.This(), Nan::New("mode").ToLocalChecked(), Nan::New(mode), ReadOnly);
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:144:9: warning: unused variable 'status' [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
../src/database.cc:190:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(db->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:194:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 2, info);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:199:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 1, info);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:230:9: warning: unused variable 'status' [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
../src/database.cc:273:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(db->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:277:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 2, info);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:282:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 1, info);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:297:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(info.This(), callback, 0, NULL);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:314:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(info.This(), callback, 0, NULL);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:418:5: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 2, argv);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:459:5: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 3, argv);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:504:5: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 4, argv);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:525:9: warning: unused variable 'status' [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
../src/database.cc:561:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(db->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:565:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 2, info);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:570:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(db->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:600:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(baton->db->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:625:9: warning: unused variable 'status' [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
../src/database.cc:663:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(db->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:667:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(db->handle(), 2, info);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/database.cc:672:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(db->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
28 warnings generated.
../src/node_sqlite3.cc:21:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READONLY, OPEN_READONLY);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:22:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READWRITE, OPEN_READWRITE);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:23:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_CREATE, OPEN_CREATE);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:24:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_FULLMUTEX, OPEN_FULLMUTEX);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:25:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_STRING(target, SQLITE_VERSION, VERSION);
^
../src/macros.h:66:10: note: expanded from macro 'DEFINE_CONSTANT_STRING'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:27:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_STRING(target, SQLITE_SOURCE_ID, SOURCE_ID);
^
../src/macros.h:66:10: note: expanded from macro 'DEFINE_CONSTANT_STRING'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:29:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_VERSION_NUMBER, VERSION_NUMBER);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:31:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_OK, OK);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:32:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_ERROR, ERROR);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:33:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERNAL, INTERNAL);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:34:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_PERM, PERM);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:35:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_ABORT, ABORT);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:36:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_BUSY, BUSY);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:37:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_LOCKED, LOCKED);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:38:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_NOMEM, NOMEM);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:39:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_READONLY, READONLY);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:40:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERRUPT, INTERRUPT);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:41:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_IOERR, IOERR);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:42:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_CORRUPT, CORRUPT);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:43:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTFOUND, NOTFOUND);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:44:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_FULL, FULL);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:45:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_CANTOPEN, CANTOPEN);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:46:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_PROTOCOL, PROTOCOL);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:47:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_EMPTY, EMPTY);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:48:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_SCHEMA, SCHEMA);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:49:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_TOOBIG, TOOBIG);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:50:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_CONSTRAINT, CONSTRAINT);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:51:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_MISMATCH, MISMATCH);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:52:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_MISUSE, MISUSE);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:53:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_NOLFS, NOLFS);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:54:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_AUTH, AUTH);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:55:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_FORMAT, FORMAT);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:56:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_RANGE, RANGE);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/node_sqlite3.cc:57:5: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTADB, NOTADB);
^
../src/macros.h:59:10: note: expanded from macro 'DEFINE_CONSTANT_INTEGER'
Nan::ForceSet(target, \
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
34 warnings generated.
../src/statement.cc:74:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:78:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(stmt->handle(), 2, argv);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:103:10: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
Nan::ForceSet(info.This(),Nan::New("sql").ToLocalChecked(), sql, ReadOnly);
^
../node_modules/nan/nan_maybe_43_inl.h:130:1: note: 'ForceSet' has been explicitly marked deprecated here
NAN_DEPRECATED inline Maybe<bool> ForceSet(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:118:9: warning: unused variable 'status' [-Wunused-variable]
int status = uv_queue_work(uv_default_loop(),
^
../src/statement.cc:161:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:322:5: warning: unused variable 'status' [-Wunused-variable]
STATEMENT_BEGIN(Bind);
^
../src/macros.h:125:9: note: expanded from macro 'STATEMENT_BEGIN'
int status = uv_queue_work(uv_default_loop(), \
^
../src/statement.cc:347:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:370:5: warning: unused variable 'status' [-Wunused-variable]
STATEMENT_BEGIN(Get);
^
../src/macros.h:125:9: note: expanded from macro 'STATEMENT_BEGIN'
int status = uv_queue_work(uv_default_loop(), \
^
../src/statement.cc:412:17: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:416:17: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:438:5: warning: unused variable 'status' [-Wunused-variable]
STATEMENT_BEGIN(Run);
^
../src/macros.h:125:9: note: expanded from macro 'STATEMENT_BEGIN'
int status = uv_queue_work(uv_default_loop(), \
^
../src/statement.cc:483:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:504:5: warning: unused variable 'status' [-Wunused-variable]
STATEMENT_BEGIN(All);
^
../src/macros.h:125:9: note: expanded from macro 'STATEMENT_BEGIN'
int status = uv_queue_work(uv_default_loop(), \
^
../src/statement.cc:556:17: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:564:17: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 2, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:601:5: warning: unused variable 'status' [-Wunused-variable]
STATEMENT_BEGIN(Each);
^
../src/macros.h:125:9: note: expanded from macro 'STATEMENT_BEGIN'
int status = uv_queue_work(uv_default_loop(), \
^
../src/statement.cc:680:17: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(async->stmt->handle(), cb, 2, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:694:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(async->stmt->handle(), cb, 2, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:724:5: warning: unused variable 'status' [-Wunused-variable]
STATEMENT_BEGIN(Reset);
^
../src/macros.h:125:9: note: expanded from macro 'STATEMENT_BEGIN'
int status = uv_queue_work(uv_default_loop(), \
^
../src/statement.cc:743:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(stmt->handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:837:9: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(baton->stmt->handle(), cb, 0, NULL);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:873:17: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
TRY_CATCH_CALL(handle(), cb, 1, argv);
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
../src/statement.cc:887:13: warning: 'MakeCallback' is deprecated [-Wdeprecated-declarations]
EMIT_EVENT(handle(), 2, info);
^
../src/macros.h:102:5: note: expanded from macro 'EMIT_EVENT'
TRY_CATCH_CALL((obj), \
^
../src/macros.h:109:10: note: expanded from macro 'TRY_CATCH_CALL'
Nan::MakeCallback((context), (callback), (argc), (argv))
^
../node_modules/nan/nan.h:929:3: note: 'MakeCallback' has been explicitly marked deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
23 warnings generated.
at ChildProcess.childProcess.once.code (/Users/converge/Documents/workspace/DuffGram/node_modules/builder-util/src/util.ts:254:14)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Socket.stream.socket.on (internal/child_process.js:381:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close (net.js:606:12)
From previous event:
at rebuild (/Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/out/util/yarn.js:239:18)
at /Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/util/yarn.ts:20:11
at Generator.next (<anonymous>)
at runCallback (timers.js:694:18)
at tryOnImmediate (timers.js:665:5)
at processImmediate (timers.js:647:5)
From previous event:
at installOrRebuild (/Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/out/util/yarn.js:68:17)
at /Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/packager.ts:457:13
at Generator.next (<anonymous>)
From previous event:
at Packager.installAppDependencies (/Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/packager.ts:418:70)
at /Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/packager.ts:368:20
at Generator.next (<anonymous>)
From previous event:
at Packager.doBuild (/Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/packager.ts:344:39)
at /Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/packager.ts:314:57
From previous event:
at Packager._build (/Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/packager.ts:285:133)
at /Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/packager.ts:281:23
at Generator.next (<anonymous>)
From previous event:
at Packager.build (/Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/packager.ts:238:14)
at build (/Users/converge/Documents/workspace/DuffGram/node_modules/app-builder-lib/src/index.ts:58:28)
at build (/Users/converge/Documents/workspace/DuffGram/node_modules/electron-builder/src/builder.ts:227:10)
at then (/Users/converge/Documents/workspace/DuffGram/node_modules/electron-builder/src/cli/cli.ts:42:48)
at runCallback (timers.js:694:18)
at tryOnImmediate (timers.js:665:5)
at processImmediate (timers.js:647:5)
From previous event:
at Object.args [as handler] (/Users/converge/Documents/workspace/DuffGram/node_modules/electron-builder/src/cli/cli.ts:42:48)
at Object.runCommand (/Users/converge/Documents/workspace/DuffGram/node_modules/yargs/lib/command.js:238:44)
at Object.parseArgs [as _parseArgs] (/Users/converge/Documents/workspace/DuffGram/node_modules/yargs/yargs.js:1085:24)
at Object.get [as argv] (/Users/converge/Documents/workspace/DuffGram/node_modules/yargs/yargs.js:1000:21)
at Object.<anonymous> (/Users/converge/Documents/workspace/DuffGram/node_modules/electron-builder/src/cli/cli.ts:25:28)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:279:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:752:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! DuffGram@0.0.1 dist: `electron-builder`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the DuffGram@0.0.1 dist 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/converge/.npm/_logs/2018-10-27T21_56_22_887Z-debug.log
Hey guys,
Im finishing the first version of my Electron app and trying to build it, but it shows an error when building the project using the command:
npm run buildmy package.json contains this script definition:
the output error is:
Anyone know how to fix it ?