Installation Error for Frappe Accounting

Trying to install Frappe Accounting from this link:

Getting Following Error:

gyp ERR! not ok 
../src/database.cc:525:9: warning: unused variable 'status' [-Wunused-variable]
    int status = uv_queue_work(uv_default_loop(),
        ^
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/Users/parthjoshi/.nvm/versions/node/v10.4.0/bin/node /Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3/lib/binding/node-v64-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3/lib/binding/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/parthjoshi/work/code/erpnext_accounting/accounting/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:961:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
node-pre-gyp ERR! System Darwin 17.5.0
node-pre-gyp ERR! command "/Users/parthjoshi/.nvm/versions/node/v10.4.0/bin/node" "/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3
node-pre-gyp ERR! node -v v10.4.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok 
Failed to execute '/Users/parthjoshi/.nvm/versions/node/v10.4.0/bin/node /Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3/lib/binding/node-v64-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3/lib/binding/node-v64-darwin-x64' (1)
../src/database.cc:625:9: warning: unused variable 'status' [-Wunused-variable]
    int status = uv_queue_work(uv_default_loop(),
        ^
8 warnings and 1 error generated.
make: *** [Release/obj.target/node_sqlite3/src/database.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/Users/parthjoshi/.nvm/versions/node/v10.4.0/bin/node" "/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3/lib/binding/node-v64-darwin-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3/lib/binding/node-v64-darwin-x64"
gyp ERR! cwd /Users/parthjoshi/work/code/erpnext_accounting/accounting/node_modules/sqlite3
gyp ERR! node -v v10.4.0

Kindly guide.

Regards

Parth