Create account

replied 1995d
I can't run the compiled binary at all.
After editing the config, marking as executable and running in terminal I get:

./member-linux
(node:31241) UnhandledPromiseRejectionWarning:
replied 1995d
Ok, thanks, I need to look at why the packager is missing that dependency. It's unrelated to the other issue, so best to ignore the binary for now.
replied 1995d
Error: Cannot find module '/snapshot/Cash/node_modules/sqlite3/lib/binding/node-v57-linux-x64/node_sqlite3.node'
1) If you want to compile the package/file into executable, please pay
replied 1995d
attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem
replied 1995d
(likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
at Function.Module._resolveFilename (module.js:546:15)
at Function.Module.
replied 1995d
_resolveFilename (pkg/prelude/bootstrap.js:1287:46)
at Function.Module._load (module.js:473:25)
at Module.require (module.js:595:17)
at Module.require (pkg/prelude/bootstra
replied 1995d
p.js:1166:31)
at require (internal/module.js:11:18)
at Object.<anonymous> (/snapshot/Cash/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (pkg/prelude/bootstra
replied 1995d
p.js:1261:22)
at Object.Module._extensions..js (module.js:662:10)
at Module.load (module.js:564:32)
(node:31241) UnhandledPromiseRejectionWarning: Unhandled promise rejection.
replied 1995d
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:3124
replied 1995d
1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero
replied 1995d
exit code.