Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't cross compile code on centos for MacOS M1 #88

Open
terry2010 opened this issue Nov 25, 2021 · 3 comments
Open

can't cross compile code on centos for MacOS M1 #88

terry2010 opened this issue Nov 25, 2021 · 3 comments

Comments

@terry2010
Copy link

hello, I tried to cross compile code on centos 7 :
npm install --target_platform=darwin --target_arch=arm64

but this node_sqlite3.node can't load in MacOS M1, then I checked hash:

`
npm install --target_platform=linux --target_arch=arm64

md5sum lib/binding/napi-v6-darwin-arm64/node_sqlite3.node

d97a787dc2d32bdee2026d8969fce4fc lib/binding/napi-v6-darwin-arm64/node_sqlite3.node

md5sum lib/binding/napi-v6-linux-arm64/node_sqlite3.node

d97a787dc2d32bdee2026d8969fce4fc lib/binding/napi-v6-linux-arm64/node_sqlite3.node

`

how to fix this ? thank you

@rkistner
Copy link
Member

I believe cross-compiling from Linux for MacOS is not supported.

Cross-compiling from an Intel Mac for arm64 Mac could work, but I haven't tried that yet.

@terry2010
Copy link
Author

I believe cross-compiling from Linux for MacOS is not supported.

Cross-compiling from an Intel Mac for arm64 Mac could work, but I haven't tried that yet.

still failed on intel Mac. I tried [email protected] and openssl@3 , maybe sqlcipher need a special version of openssl ?


brew install [email protected]
brew link [email protected] --force
export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
export CPPFLAGS="-I/usr/local/opt/[email protected]/include"

npm install --build-from-source --target_arch=arm64 --target_platform=darwin

@journeyapps/[email protected] install
node-pre-gyp install --fallback-to-build

node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | x64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info build requesting source compile
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info find Python using Python version 3.9.9 found at "/usr/local/opt/[email protected]/bin/python3.9"
gyp info spawn /usr/local/opt/[email protected]/bin/python3.9
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/terry/Library/Caches/node-gyp/16.10.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/terry/Library/Caches/node-gyp/16.10.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/terry/Library/Caches/node-gyp/16.10.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CC(target) Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
LIBTOOL-STATIC Release/nothing.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols)
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlcipher-amalgamation-3033000/sqlite3.c
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlcipher-amalgamation-3033000/sqlite3.o
Release/obj/gen/sqlcipher-amalgamation-3033000/sqlite3.c:132817:28: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for(i=0, iByte=0; i<sizeof(zBuf)*2 && sqlite3Isxdigit(zRight[i]); i++){
~^~~~~~~~~~~~~~~
Release/obj/gen/sqlcipher-amalgamation-3033000/sqlite3.c:168924:24: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for(i=0, iByte=0; i<sizeof(zDecoded)*2 && sqlite3Isxdigit(zKey[i]); i++){
~^~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlcipher-amalgamation-3033000/sqlite3.c:64031:20: warning: unused function 'sqlite3PagerState' [-Wunused-function]
SQLITE_PRIVATE int sqlite3PagerState(Pager *pPager){
^
3 warnings generated.
LIBTOOL-STATIC Release/sqlite3.a
CXX(target) Release/obj.target/node_sqlite3/src/backup.o
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:505:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:420:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:505:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:421:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:506:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/typeinfo:61:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:85:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:673:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:95:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:674:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:205:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:675:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:121:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:676:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:424:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:679:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:154:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:687:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:579:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__threading_support:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/chrono:832:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:687:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:584:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:689:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:511:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:190:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:149:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:511:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:179:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__string:57:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:657:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/bit:61:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:190:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:149:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:511:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:179:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__string:57:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:658:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:190:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:149:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:511:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:185:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:190:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:149:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:524:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:197:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:285:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:5:
In file included from ../src/database.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/queue:182:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/deque:170:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/node_sqlite3/src/backup.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:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:390:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
gyp ERR! cwd /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
gyp ERR! node -v v16.10.0
gyp ERR! node-gyp -v v8.2.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1064:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
node-pre-gyp ERR! System Darwin 20.6.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
node-pre-gyp ERR! node -v v16.10.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! code 1
npm ERR! path /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/terry/.npm/_logs/2021-11-26T02_43_53_168Z-debug.log


cat /Users/terry/.npm/_logs/2021-11-26T02_43_53_168Z-debug.log
0 verbose cli [
0 verbose cli '/usr/local/bin/node',
0 verbose cli '/usr/local/bin/npm',
0 verbose cli 'install',
0 verbose cli '--build-from-source',
0 verbose cli '--target_arch=arm64',
0 verbose cli '--target_platform=darwin'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 3ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 3ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/.npmrc Completed in 0ms
10 timing config:load:project Completed in 1ms
11 timing config:load:file:/Users/terry/.npmrc Completed in 1ms
12 timing config:load:user Completed in 2ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 14ms
19 timing npm:load:configload Completed in 14ms
20 timing npm:load:setTitle Completed in 18ms
21 timing npm:load:setupLog Completed in 1ms
22 timing config:load:flatten Completed in 2ms
23 timing npm:load:cleanupLog Completed in 2ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 0ms
26 timing npm:load Completed in 39ms
27 timing arborist:ctor Completed in 1ms
28 timing idealTree:init Completed in 213ms
29 timing idealTree:userRequests Completed in 0ms
30 silly idealTree buildDeps
31 timing idealTree:#root Completed in 0ms
32 timing idealTree:buildDeps Completed in 1ms
33 timing idealTree:fixDepFlags Completed in 0ms
34 timing idealTree Completed in 220ms
35 timing arborist:ctor Completed in 0ms
36 timing reify:loadTrees Completed in 345ms
37 timing reify:diffTrees Completed in 7ms
38 silly reify moves {}
39 timing reify:retireShallow Completed in 0ms
40 timing reify:createSparse Completed in 0ms
41 timing reify:loadBundles Completed in 0ms
42 silly audit bulk request {
42 silly audit '@electron/get': [ '1.13.1' ],
42 silly audit semver: [ '6.3.0', '5.7.1', '7.3.5', '5.3.0' ],
42 silly audit '@mapbox/node-pre-gyp': [ '1.0.7' ],
42 silly audit '@sindresorhus/is': [ '0.14.0' ],
42 silly audit '@szmarczak/http-timer': [ '1.1.2' ],
42 silly audit '@types/node': [ '12.20.37' ],
42 silly audit '@ungap/promise-all-settled': [ '1.1.2' ],
42 silly audit abbrev: [ '1.1.1' ],
42 silly audit acorn: [ '5.7.4', '3.3.0' ],
42 silly audit 'acorn-jsx': [ '3.0.1' ],
42 silly audit 'agent-base': [ '6.0.2' ],
42 silly audit ajv: [ '6.12.6', '4.11.8' ],
42 silly audit 'ajv-keywords': [ '1.5.1' ],
42 silly audit 'ansi-colors': [ '4.1.1' ],
42 silly audit 'ansi-escapes': [ '1.4.0' ],
42 silly audit 'ansi-regex': [ '2.1.1', '5.0.1', '4.1.0', '3.0.0' ],
42 silly audit 'ansi-styles': [ '2.2.1', '4.3.0', '3.2.1' ],
42 silly audit anymatch: [ '3.1.2' ],
42 silly audit aproba: [ '2.0.0', '1.2.0' ],
42 silly audit 'are-we-there-yet': [ '2.0.0', '1.1.7' ],
42 silly audit 'readable-stream': [ '3.6.0', '2.3.7' ],
42 silly audit argparse: [ '1.0.10', '2.0.1' ],
42 silly audit asn1: [ '0.2.6' ],
42 silly audit 'assert-plus': [ '1.0.0' ],
42 silly audit asynckit: [ '0.4.0' ],
42 silly audit 'aws-sdk': [ '2.1035.0' ],
42 silly audit 'aws-sign2': [ '0.7.0' ],
42 silly audit aws4: [ '1.11.0' ],
42 silly audit 'balanced-match': [ '1.0.2' ],
42 silly audit 'base64-js': [ '1.5.1' ],
42 silly audit 'bcrypt-pbkdf': [ '1.0.2' ],
42 silly audit 'binary-extensions': [ '2.2.0' ],
42 silly audit 'block-stream': [ '0.0.9' ],
42 silly audit boolean: [ '3.1.4' ],
42 silly audit 'brace-expansion': [ '1.1.11' ],
42 silly audit braces: [ '3.0.2' ],
42 silly audit 'browser-stdout': [ '1.3.1' ],
42 silly audit buffer: [ '4.9.2' ],
42 silly audit 'buffer-crc32': [ '0.2.13' ],
42 silly audit 'buffer-from': [ '1.1.2' ],
42 silly audit 'cacheable-request': [ '6.1.0' ],
42 silly audit 'get-stream': [ '5.2.0', '4.1.0' ],
42 silly audit 'lowercase-keys': [ '2.0.0', '1.0.1' ],
42 silly audit 'caller-path': [ '0.1.0' ],
42 silly audit callsites: [ '0.2.0' ],
42 silly audit camelcase: [ '6.2.1', '5.3.1' ],
42 silly audit caseless: [ '0.12.0' ],
42 silly audit chalk: [ '1.1.3', '4.1.2', '2.4.2' ],
42 silly audit chokidar: [ '3.5.1' ],
42 silly audit chownr: [ '2.0.0', '1.1.4' ],
42 silly audit 'circular-json': [ '0.3.3' ],
42 silly audit 'cli-cursor': [ '1.0.2', '2.1.0' ],
42 silly audit 'cli-spinners': [ '2.6.1' ],
42 silly audit 'cli-width': [ '2.2.1' ],
42 silly audit cliui: [ '7.0.4', '5.0.0' ],
42 silly audit 'is-fullwidth-code-point': [ '3.0.0', '2.0.0', '1.0.0' ],
42 silly audit 'string-width': [ '4.2.3', '3.1.0', '1.0.2', '2.1.1' ],
42 silly audit 'strip-ansi': [ '6.0.1', '5.2.0', '3.0.1', '4.0.0' ],
42 silly audit clone: [ '1.0.4' ],
42 silly audit 'clone-response': [ '1.0.2' ],
42 silly audit co: [ '4.6.0' ],
42 silly audit 'code-point-at': [ '1.1.0' ],
42 silly audit 'color-convert': [ '1.9.3', '2.0.1' ],
42 silly audit 'color-name': [ '1.1.3', '1.1.4' ],
42 silly audit 'color-support': [ '1.1.3' ],
42 silly audit colors: [ '1.4.0' ],
42 silly audit 'combined-stream': [ '1.0.8' ],
42 silly audit commander: [ '2.15.1' ],
42 silly audit 'concat-map': [ '0.0.1' ],
42 silly audit 'concat-stream': [ '1.6.2' ],
42 silly audit 'config-chain': [ '1.1.13' ],
42 silly audit 'console-control-strings': [ '1.1.0' ],
42 silly audit 'core-util-is': [ '1.0.3', '1.0.2' ],
42 silly audit d: [ '1.0.1' ],
42 silly audit dashdash: [ '1.14.1' ],
42 silly audit debug: [ '4.3.2', '4.3.1', '2.6.9', '3.1.0', '3.2.7' ],
42 silly audit decamelize: [ '4.0.0', '1.2.0' ],
42 silly audit 'decompress-response': [ '3.3.0' ],
42 silly audit 'deep-extend': [ '0.6.0' ],
42 silly audit 'deep-is': [ '0.1.4' ],
42 silly audit defaults: [ '1.0.3' ],
42 silly audit 'defer-to-connect': [ '1.1.3' ],
42 silly audit 'define-properties': [ '1.1.3' ],
42 silly audit 'delayed-stream': [ '1.0.0' ],
42 silly audit delegates: [ '1.0.0' ],
42 silly audit 'detect-libc': [ '1.0.3' ],
42 silly audit 'detect-node': [ '2.1.0' ],
42 silly audit diff: [ '3.5.0', '5.0.0' ],
42 silly audit doctrine: [ '1.5.0' ],
42 silly audit duplexer3: [ '0.1.4' ],
42 silly audit 'ecc-jsbn': [ '0.1.2' ],
42 silly audit electron: [ '11.5.0' ],
42 silly audit 'electron-mocha': [ '10.1.0' ],
42 silly audit 'supports-color': [ '7.2.0', '8.1.1', '5.4.0', '5.5.0', '2.0.0' ],
42 silly audit 'escape-string-regexp': [ '4.0.0', '1.0.5' ],
42 silly audit 'fs-extra': [ '10.0.0', '8.1.0' ],
42 silly audit glob: [ '7.1.6', '7.2.0', '7.1.2' ],
42 silly audit he: [ '1.2.0', '1.1.1' ],
42 silly audit 'js-yaml': [ '4.0.0', '3.14.1' ],
42 silly audit jsonfile: [ '6.1.0', '4.0.0' ],
42 silly audit mocha: [ '8.4.0', '5.2.0' ],
42 silly audit 'log-symbols': [ '4.0.0', '4.1.0', '2.2.0' ],
42 silly audit ms: [ '2.1.3', '2.0.0', '2.1.2' ],
42 silly audit 'strip-json-comments': [ '3.1.1', '2.0.1', '1.0.4' ],
42 silly audit universalify: [ '2.0.0', '0.1.2' ],
42 silly audit 'wide-align': [ '1.1.3', '1.1.5' ],
42 silly audit 'yargs-parser': [ '20.2.4', '15.0.3', '20.2.9' ],
42 silly audit 'electron-rebuild': [ '1.11.0' ],
42 silly audit 'emoji-regex': [ '7.0.3', '8.0.0' ],
42 silly audit 'find-up': [ '3.0.0', '5.0.0' ],
42 silly audit 'locate-path': [ '3.0.0', '6.0.0' ],
42 silly audit 'p-limit': [ '2.3.0', '3.1.0' ],
42 silly audit 'p-locate': [ '3.0.0', '5.0.0' ],
42 silly audit 'path-exists': [ '3.0.0', '4.0.0' ],
42 silly audit 'wrap-ansi': [ '5.1.0', '7.0.0' ],
42 silly audit y18n: [ '4.0.3', '5.0.8' ],
42 silly audit yargs: [ '14.2.3', '16.2.0' ],
42 silly audit 'electron-window': [ '0.8.1' ],
42 silly audit encodeurl: [ '1.0.2' ],
42 silly audit 'end-of-stream': [ '1.4.4' ],
42 silly audit 'env-paths': [ '2.2.1' ],
42 silly audit 'es5-ext': [ '0.10.53' ],
42 silly audit 'es6-error': [ '4.1.1' ],
42 silly audit 'es6-iterator': [ '2.0.3' ],
42 silly audit 'es6-map': [ '0.1.5' ],
42 silly audit 'es6-set': [ '0.1.5' ],
42 silly audit 'es6-symbol': [ '3.1.1', '3.1.3' ],
42 silly audit 'es6-weak-map': [ '2.0.3' ],
42 silly audit escalade: [ '3.1.1' ],
42 silly audit escope: [ '3.6.0' ],
42 silly audit eslint: [ '3.5.0' ],
42 silly audit progress: [ '1.1.8', '2.0.3' ],
42 silly audit espree: [ '3.5.4' ],
42 silly audit esprima: [ '4.0.1' ],
42 silly audit esrecurse: [ '4.3.0' ],
42 silly audit estraverse: [ '5.3.0', '4.3.0' ],
42 silly audit esutils: [ '2.0.3' ],
42 silly audit 'event-emitter': [ '0.3.5' ],
42 silly audit events: [ '1.1.1' ],
42 silly audit 'exit-hook': [ '1.1.1' ],
42 silly audit ext: [ '1.6.0' ],
42 silly audit type: [ '2.5.0', '1.2.0' ],
42 silly audit extend: [ '3.0.2' ],
42 silly audit 'extract-zip': [ '1.7.0' ],
42 silly audit extsprintf: [ '1.3.0' ],
42 silly audit 'fast-deep-equal': [ '3.1.3' ],
42 silly audit 'fast-json-stable-stringify': [ '2.1.0' ],
42 silly audit 'fast-levenshtein': [ '2.0.6' ],
42 silly audit 'fd-slicer': [ '1.1.0' ],
42 silly audit figures: [ '1.7.0' ],
42 silly audit 'file-entry-cache': [ '2.0.0' ],
42 silly audit 'fill-range': [ '7.0.1' ],
42 silly audit flat: [ '5.0.2' ],
42 silly audit 'flat-cache': [ '1.3.4' ],
42 silly audit rimraf: [ '2.6.3', '2.7.1', '3.0.2' ],
42 silly audit 'forever-agent': [ '0.6.1' ],
42 silly audit 'form-data': [ '2.3.3' ],
42 silly audit 'fs-minipass': [ '2.1.0', '1.2.7' ],
42 silly audit 'fs.realpath': [ '1.0.0' ],
42 silly audit fsevents: [ '2.3.2' ],
42 silly audit fstream: [ '1.0.12' ],
42 silly audit gauge: [ '4.0.0', '2.7.4' ],
42 silly audit 'generate-function': [ '2.3.1' ],
42 silly audit 'generate-object-property': [ '1.2.0' ],
42 silly audit 'get-caller-file': [ '2.0.5' ],
42 silly audit getpass: [ '0.1.7' ],
42 silly audit 'glob-parent': [ '5.1.2' ],
42 silly audit 'global-agent': [ '3.0.0' ],
42 silly audit 'global-tunnel-ng': [ '2.7.1' ],
42 silly audit globals: [ '9.18.0' ],
42 silly audit globalthis: [ '1.0.2' ],
42 silly audit got: [ '9.6.0' ],
42 silly audit 'graceful-fs': [ '4.2.8' ],
42 silly audit growl: [ '1.10.5' ],
42 silly audit 'har-schema': [ '2.0.0' ],
42 silly audit 'har-validator': [ '5.1.5' ],
42 silly audit 'has-ansi': [ '2.0.0' ],
42 silly audit 'has-flag': [ '4.0.0', '3.0.0' ],
42 silly audit 'has-unicode': [ '2.0.1' ],
42 silly audit 'http-cache-semantics': [ '4.1.0' ],
42 silly audit 'http-signature': [ '1.2.0' ],
42 silly audit 'https-proxy-agent': [ '5.0.0' ],
42 silly audit 'iconv-lite': [ '0.4.24' ],
42 silly audit ieee754: [ '1.1.13' ],
42 silly audit ignore: [ '3.3.10' ],
42 silly audit 'ignore-walk': [ '3.0.4' ],
42 silly audit imurmurhash: [ '0.1.4' ],
42 silly audit inflight: [ '1.0.6' ],
42 silly audit inherits: [ '2.0.4' ],
42 silly audit ini: [ '1.3.8' ],
42 silly audit inquirer: [ '0.12.0' ],
42 silly audit 'is-binary-path': [ '2.1.0' ],
42 silly audit 'is-electron-renderer': [ '2.0.1' ],
42 silly audit 'is-extglob': [ '2.1.1' ],
42 silly audit 'is-glob': [ '4.0.3' ],
42 silly audit 'is-my-ip-valid': [ '1.0.0' ],
42 silly audit 'is-my-json-valid': [ '2.20.6' ],
42 silly audit 'is-number': [ '7.0.0' ],
42 silly audit 'is-plain-obj': [ '2.1.0' ],
42 silly audit 'is-property': [ '1.0.2' ],
42 silly audit 'is-resolvable': [ '1.1.0' ],
42 silly audit 'is-typedarray': [ '1.0.0' ],
42 silly audit 'is-unicode-supported': [ '0.1.0' ],
42 silly audit isarray: [ '1.0.0' ],
42 silly audit isexe: [ '2.0.0' ],
42 silly audit isstream: [ '0.1.2' ],
42 silly audit jmespath: [ '0.15.0' ],
42 silly audit jsbn: [ '0.1.1' ],
42 silly audit 'json-buffer': [ '3.0.0' ],
42 silly audit 'json-schema': [ '0.2.3' ],
42 silly audit 'json-schema-traverse': [ '0.4.1' ],
42 silly audit 'json-stable-stringify': [ '1.0.1' ],
42 silly audit 'json-stringify-safe': [ '5.0.1' ],
42 silly audit jsonify: [ '0.0.0' ],
42 silly audit jsonpointer: [ '5.0.0' ],
42 silly audit jsprim: [ '1.4.1' ],
42 silly audit keyv: [ '3.1.0' ],
42 silly audit levn: [ '0.3.0' ],
42 silly audit lodash: [ '4.17.21' ],
42 silly audit 'lodash.assign': [ '4.2.0' ],
42 silly audit 'lru-cache': [ '6.0.0' ],
42 silly audit 'make-dir': [ '3.1.0' ],
42 silly audit matcher: [ '3.0.0' ],
42 silly audit 'mime-db': [ '1.51.0' ],
42 silly audit 'mime-types': [ '2.1.34' ],
42 silly audit 'mimic-fn': [ '1.2.0' ],
42 silly audit 'mimic-response': [ '1.0.1' ],
42 silly audit minimatch: [ '3.0.4' ],
42 silly audit minimist: [ '1.2.5', '0.0.8' ],
42 silly audit minipass: [ '3.1.5', '2.9.0' ],
42 silly audit minizlib: [ '2.1.2', '1.3.3' ],
42 silly audit mkdirp: [ '0.5.5', '0.5.1', '1.0.4' ],
42 silly audit 'mute-stream': [ '0.0.5' ],
42 silly audit nanoid: [ '3.1.20' ],
42 silly audit 'natural-compare': [ '1.4.0' ],
42 silly audit needle: [ '2.9.1' ],
42 silly audit sax: [ '1.2.4', '1.2.1' ],
42 silly audit 'next-tick': [ '1.0.0' ],
42 silly audit 'node-abi': [ '2.30.1' ],
42 silly audit 'node-addon-api': [ '3.2.1' ],
42 silly audit 'node-fetch': [ '2.6.6' ],
42 silly audit 'node-gyp': [ '6.1.0', '3.8.0' ],
42 silly audit nopt: [ '4.0.3', '5.0.0', '3.0.6' ],
42 silly audit npmlog: [ '4.1.2', '6.0.0' ],
42 silly audit 'safe-buffer': [ '5.2.1', '5.1.2' ],
42 silly audit tar: [ '4.4.19', '2.2.2', '6.1.11' ],
42 silly audit which: [ '1.3.1', '2.0.2' ],
42 silly audit yallist: [ '3.1.1', '4.0.0' ],
42 silly audit 'node-pre-gyp': [ '0.11.0' ],
42 silly audit 'normalize-path': [ '3.0.0' ],
42 silly audit 'normalize-url': [ '4.5.1' ],
42 silly audit 'npm-bundled': [ '1.1.2' ],
42 silly audit 'npm-conf': [ '1.1.3' ],
42 silly audit 'npm-normalize-package-bin': [ '1.0.1' ],
42 silly audit 'npm-packlist': [ '1.4.8' ],
42 silly audit 'number-is-nan': [ '1.0.1' ],
42 silly audit 'oauth-sign': [ '0.9.0' ],
42 silly audit 'object-assign': [ '4.1.1' ],
42 silly audit 'object-keys': [ '1.1.1' ],
42 silly audit once: [ '1.4.0' ],
42 silly audit onetime: [ '1.1.0', '2.0.1' ],
42 silly audit optionator: [ '0.8.3' ],
42 silly audit ora: [ '3.4.0' ],
42 silly audit 'restore-cursor': [ '2.0.0', '1.0.1' ],
42 silly audit 'os-homedir': [ '1.0.2' ],
42 silly audit 'os-tmpdir': [ '1.0.2' ],
42 silly audit osenv: [ '0.1.5' ],
42 silly audit 'p-cancelable': [ '1.1.0' ],
42 silly audit 'p-try': [ '2.2.0' ],
42 silly audit 'path-is-absolute': [ '1.0.1' ],
42 silly audit 'path-is-inside': [ '1.0.2' ],
42 silly audit pend: [ '1.2.0' ],
42 silly audit 'performance-now': [ '2.1.0' ],
42 silly audit picomatch: [ '2.3.0' ],
42 silly audit pify: [ '3.0.0' ],
42 silly audit pluralize: [ '1.2.1' ],
42 silly audit 'prelude-ls': [ '1.1.2' ],
42 silly audit 'prepend-http': [ '2.0.0' ],
42 silly audit 'process-nextick-args': [ '2.0.1' ],
42 silly audit 'proto-list': [ '1.2.4' ],
42 silly audit psl: [ '1.8.0' ],
42 silly audit pump: [ '3.0.0' ],
42 silly audit punycode: [ '2.1.1', '1.3.2' ],
42 silly audit qs: [ '6.5.2' ],
42 silly audit querystring: [ '0.2.0' ],
42 silly audit randombytes: [ '2.1.0' ],
42 silly audit rc: [ '1.2.8' ],
42 silly audit readdirp: [ '3.5.0' ],
42 silly audit readline2: [ '1.0.1' ],
42 silly audit request: [ '2.88.2' ],
42 silly audit 'require-directory': [ '2.1.1' ],
42 silly audit 'require-main-filename': [ '2.0.0' ],
42 silly audit 'require-uncached': [ '1.0.3' ],
42 silly audit 'resolve-from': [ '1.0.1' ],
42 silly audit responselike: [ '1.0.2' ],
42 silly audit roarr: [ '2.15.4' ],
42 silly audit 'sprintf-js': [ '1.1.2', '1.0.3' ],
42 silly audit 'run-async': [ '0.1.0' ],
42 silly audit 'rx-lite': [ '3.1.2' ],
42 silly audit rxjs: [ '6.6.7' ],
42 silly audit 'safer-buffer': [ '2.1.2' ],
42 silly audit 'semver-compare': [ '1.0.0' ],
42 silly audit 'serialize-error': [ '7.0.1' ],
42 silly audit 'serialize-javascript': [ '5.0.1' ],
42 silly audit 'set-blocking': [ '2.0.0' ],
42 silly audit shelljs: [ '0.6.1' ],
42 silly audit 'signal-exit': [ '3.0.6' ],
42 silly audit 'slice-ansi': [ '0.0.4' ],
42 silly audit 'spawn-rx': [ '3.0.0' ],
42 silly audit sqlite3: [ '5.0.2' ],
42 silly audit sshpk: [ '1.16.1' ],
42 silly audit string_decoder: [ '1.1.1' ],
42 silly audit 'strip-bom': [ '3.0.0' ],
42 silly audit sumchecker: [ '3.0.1' ],
42 silly audit table: [ '3.8.3' ],
42 silly audit 'text-table': [ '0.2.0' ],
42 silly audit through: [ '2.3.8' ],
42 silly audit 'to-readable-stream': [ '1.0.0' ],
42 silly audit 'to-regex-range': [ '5.0.1' ],
42 silly audit 'tough-cookie': [ '2.5.0' ],
42 silly audit tr46: [ '0.0.3' ],
42 silly audit tslib: [ '1.14.1' ],
42 silly audit tunnel: [ '0.0.6' ],
42 silly audit 'tunnel-agent': [ '0.6.0' ],
42 silly audit tweetnacl: [ '0.14.5' ],
42 silly audit 'type-check': [ '0.3.2' ],
42 silly audit 'type-fest': [ '0.13.1' ],
42 silly audit typedarray: [ '0.0.6' ],
42 silly audit 'uri-js': [ '4.4.1' ],
42 silly audit url: [ '0.10.3' ],
42 silly audit 'url-parse-lax': [ '3.0.0' ],
42 silly audit 'user-home': [ '2.0.0' ],
42 silly audit 'util-deprecate': [ '1.0.2' ],
42 silly audit uuid: [ '3.3.2' ],
42 silly audit verror: [ '1.10.0' ],
42 silly audit wcwidth: [ '1.0.1' ],
42 silly audit 'webidl-conversions': [ '3.0.1' ],
42 silly audit 'whatwg-url': [ '5.0.0' ],
42 silly audit 'which-module': [ '2.0.0' ],
42 silly audit 'word-wrap': [ '1.2.3' ],
42 silly audit workerpool: [ '6.1.0' ],
42 silly audit wrappy: [ '1.0.2' ],
42 silly audit write: [ '0.2.1' ],
42 silly audit xml2js: [ '0.4.19' ],
42 silly audit xmlbuilder: [ '9.0.7' ],
42 silly audit xtend: [ '4.0.2' ],
42 silly audit 'yargs-unparser': [ '2.0.0' ],
42 silly audit yauzl: [ '2.10.0' ],
42 silly audit 'yocto-queue': [ '0.1.0' ]
42 silly audit }
43 timing reify:unpack Completed in 2ms
44 timing reify:unretire Completed in 0ms
45 timing build:queue Completed in 0ms
46 timing build:deps Completed in 0ms
47 timing build Completed in 0ms
48 timing reify:build Completed in 0ms
49 timing reify:trash Completed in 1ms
50 timing reify:save Completed in 60ms
51 http fetch POST 404 https://registry.npmmirror.com/-/npm/v1/security/advisories/bulk 262ms
52 silly audit bulk request failed [object Object]
53 http fetch POST 404 https://registry.npmmirror.com/-/npm/v1/security/audits/quick 113ms
54 verbose audit error HttpErrorGeneral: 404 Not Found - POST https://registry.npmmirror.com/-/npm/v1/security/audits/quick - [not_found] document not found
54 verbose audit error at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:95:15
54 verbose audit error at processTicksAndRejections (node:internal/process/task_queues:96:5)
54 verbose audit error at async Map.[getReport] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:337:21)
54 verbose audit error at async Map.run (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:107:19)
54 verbose audit error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
54 verbose audit error at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:170:5)
54 verbose audit error HttpErrorGeneral: 404 Not Found - POST https://registry.npmmirror.com/-/npm/v1/security/audits/quick - [not_found] document not found
54 verbose audit error at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:95:15
54 verbose audit error at processTicksAndRejections (node:internal/process/task_queues:96:5)
54 verbose audit error at async Map.[getReport] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:337:21)
54 verbose audit error at async Map.run (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:107:19)
54 verbose audit error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
54 verbose audit error at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:170:5) {
54 verbose audit error headers: [Object: null prototype] {
54 verbose audit error server: [ 'Tengine' ],
54 verbose audit error 'content-type': [ 'application/json; charset=utf-8' ],
54 verbose audit error 'transfer-encoding': [ 'chunked' ],
54 verbose audit error connection: [ 'keep-alive' ],
54 verbose audit error 'strict-transport-security': [ 'max-age=5184000' ],
54 verbose audit error date: [ 'Fri, 26 Nov 2021 02:43:14 GMT' ],
54 verbose audit error 'x-current-requests': [ '1' ],
54 verbose audit error vary: [ 'Origin' ],
54 verbose audit error 'x-readtime': [ '2' ],
54 verbose audit error 'content-encoding': [ 'gzip' ],
54 verbose audit error 'x-alicdn-da-ups-status': [ 'endOs,0,404' ],
54 verbose audit error via: [ 'cache23.l2cm9-7[83,0], kunlun7.cn2831[93,0]' ],
54 verbose audit error 'timing-allow-origin': [ '*' ],
54 verbose audit error eagleid: [ '7d25ce9d16378945941031595e' ],
54 verbose audit error 'x-fetch-attempts': [ '1' ]
54 verbose audit error },
54 verbose audit error statusCode: 404,
54 verbose audit error code: 'E404',
54 verbose audit error method: 'POST',
54 verbose audit error uri: 'https://registry.npmmirror.com/-/npm/v1/security/audits/quick',
54 verbose audit error body: {
54 verbose audit error error: '[not_found] document not found',
54 verbose audit error reason: '[not_found] document not found'
54 verbose audit error },
54 verbose audit error pkgid: undefined
54 verbose audit error }
55 silly audit error [object Object]
56 timing auditReport:getReport Completed in 396ms
57 silly audit report null
58 timing reify:audit Completed in 397ms
59 timing reify Completed in 765ms
60 timing command:install Completed in 39875ms
61 verbose stack Error: command failed
61 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
61 verbose stack at ChildProcess.emit (node:events:390:28)
61 verbose stack at maybeClose (node:internal/child_process:1064:16)
61 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
62 verbose pkgid @journeyapps/[email protected]
63 verbose cwd /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
64 verbose Darwin 20.6.0
65 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--build-from-source" "--target_arch=arm64" "--target_platform=darwin"
66 verbose node v16.10.0
67 verbose npm v8.0.0
68 error code 1
69 error path /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
70 error command failed
71 error command sh -c node-pre-gyp install --fallback-to-build
72 verbose exit 1

@terry2010
Copy link
Author

export LDFLAGS="-L/usr/local/opt/openssl@3/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@3/include"

export PATH="/usr/local/opt/openssl@3/bin:$PATH"

terry@terrydeMacBook-Pro sqlcipher % openssl version
OpenSSL 3.0.0 7 sep 2021 (Library: OpenSSL 3.0.0 7 sep 2021)
terry@terrydeMacBook-Pro sqlcipher % npm install --build-from-source --target_arch=arm64 --target_platform=darwin

@journeyapps/[email protected] install
node-pre-gyp install --fallback-to-build

node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | x64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info build requesting source compile
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info find Python using Python version 3.9.9 found at "/usr/local/opt/[email protected]/bin/python3.9"
gyp info spawn /usr/local/opt/[email protected]/bin/python3.9
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/terry/Library/Caches/node-gyp/16.10.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/terry/Library/Caches/node-gyp/16.10.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/terry/Library/Caches/node-gyp/16.10.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CC(target) Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
LIBTOOL-STATIC Release/nothing.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols)
ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlcipher-amalgamation-3033000/sqlite3.c
TOUCH Release/obj.target/deps/action_before_build.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlcipher-amalgamation-3033000/sqlite3.o
Release/obj/gen/sqlcipher-amalgamation-3033000/sqlite3.c:132817:28: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for(i=0, iByte=0; i<sizeof(zBuf)*2 && sqlite3Isxdigit(zRight[i]); i++){
~^~~~~~~~~~~~~~~
Release/obj/gen/sqlcipher-amalgamation-3033000/sqlite3.c:168924:24: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for(i=0, iByte=0; i<sizeof(zDecoded)*2 && sqlite3Isxdigit(zKey[i]); i++){
~^~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlcipher-amalgamation-3033000/sqlite3.c:64031:20: warning: unused function 'sqlite3PagerState' [-Wunused-function]
SQLITE_PRIVATE int sqlite3PagerState(Pager *pPager){
^
3 warnings generated.
LIBTOOL-STATIC Release/sqlite3.a
CXX(target) Release/obj.target/node_sqlite3/src/backup.o
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:505:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:420:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:505:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:421:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:506:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/typeinfo:61:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:85:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:673:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/new:95:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:674:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:205:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:675:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:121:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:676:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/iterator:424:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:679:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:154:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:687:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:579:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__threading_support:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/chrono:832:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:687:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/atomic:584:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:508:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:689:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:511:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:190:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:149:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:511:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:179:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__string:57:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:657:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/bit:61:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:190:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:149:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:511:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:179:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__string:57:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:658:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:190:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:149:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:511:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string_view:185:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:190:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__mutex_base:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/system_error:149:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:524:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/mutex:197:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:2:
In file included from /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-addon-api/napi.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:285:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
In file included from ../src/backup.cc:5:
In file included from ../src/database.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/queue:182:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/deque:170:
./Release/obj/gen/sqlcipher-amalgamation-3033000/version:1:1: error: expected unqualified-id
3.33.0
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/node_sqlite3/src/backup.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:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:390:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
gyp ERR! cwd /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
gyp ERR! node -v v16.10.0
gyp ERR! node-gyp -v v8.2.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1064:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
node-pre-gyp ERR! System Darwin 20.6.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
node-pre-gyp ERR! node -v v16.10.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/lib/binding/napi-v6-darwin-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm ERR! code 1
npm ERR! path /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/terry/.npm/_logs/2021-11-26T03_03_15_875Z-debug.log


cat /Users/terry/.npm/_logs/2021-11-26T03_03_15_875Z-debug.log

0 verbose cli [
0 verbose cli '/usr/local/bin/node',
0 verbose cli '/usr/local/bin/npm',
0 verbose cli 'install',
0 verbose cli '--build-from-source',
0 verbose cli '--target_arch=arm64',
0 verbose cli '--target_platform=darwin'
0 verbose cli ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher/.npmrc Completed in 0ms
10 timing config:load:project Completed in 1ms
11 timing config:load:file:/Users/terry/.npmrc Completed in 2ms
12 timing config:load:user Completed in 2ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 1ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 2ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 15ms
19 timing npm:load:configload Completed in 15ms
20 timing npm:load:setTitle Completed in 19ms
21 timing npm:load:setupLog Completed in 0ms
22 timing config:load:flatten Completed in 3ms
23 timing npm:load:cleanupLog Completed in 2ms
24 timing npm:load:configScope Completed in 0ms
25 timing npm:load:projectScope Completed in 1ms
26 timing npm:load Completed in 41ms
27 timing arborist:ctor Completed in 2ms
28 timing idealTree:init Completed in 217ms
29 timing idealTree:userRequests Completed in 0ms
30 silly idealTree buildDeps
31 timing idealTree:#root Completed in 0ms
32 timing idealTree:buildDeps Completed in 1ms
33 timing idealTree:fixDepFlags Completed in 0ms
34 timing idealTree Completed in 223ms
35 timing arborist:ctor Completed in 1ms
36 timing reify:loadTrees Completed in 357ms
37 timing reify:diffTrees Completed in 17ms
38 silly reify moves {}
39 timing reify:retireShallow Completed in 0ms
40 timing reify:createSparse Completed in 0ms
41 timing reify:loadBundles Completed in 0ms
42 silly audit bulk request {
42 silly audit '@electron/get': [ '1.13.1' ],
42 silly audit semver: [ '6.3.0', '5.7.1', '7.3.5', '5.3.0' ],
42 silly audit '@mapbox/node-pre-gyp': [ '1.0.7' ],
42 silly audit '@sindresorhus/is': [ '0.14.0' ],
42 silly audit '@szmarczak/http-timer': [ '1.1.2' ],
42 silly audit '@types/node': [ '12.20.37' ],
42 silly audit '@ungap/promise-all-settled': [ '1.1.2' ],
42 silly audit abbrev: [ '1.1.1' ],
42 silly audit acorn: [ '5.7.4', '3.3.0' ],
42 silly audit 'acorn-jsx': [ '3.0.1' ],
42 silly audit 'agent-base': [ '6.0.2' ],
42 silly audit ajv: [ '6.12.6', '4.11.8' ],
42 silly audit 'ajv-keywords': [ '1.5.1' ],
42 silly audit 'ansi-colors': [ '4.1.1' ],
42 silly audit 'ansi-escapes': [ '1.4.0' ],
42 silly audit 'ansi-regex': [ '2.1.1', '5.0.1', '4.1.0', '3.0.0' ],
42 silly audit 'ansi-styles': [ '2.2.1', '4.3.0', '3.2.1' ],
42 silly audit anymatch: [ '3.1.2' ],
42 silly audit aproba: [ '2.0.0', '1.2.0' ],
42 silly audit 'are-we-there-yet': [ '2.0.0', '1.1.7' ],
42 silly audit 'readable-stream': [ '3.6.0', '2.3.7' ],
42 silly audit argparse: [ '1.0.10', '2.0.1' ],
42 silly audit asn1: [ '0.2.6' ],
42 silly audit 'assert-plus': [ '1.0.0' ],
42 silly audit asynckit: [ '0.4.0' ],
42 silly audit 'aws-sdk': [ '2.1035.0' ],
42 silly audit 'aws-sign2': [ '0.7.0' ],
42 silly audit aws4: [ '1.11.0' ],
42 silly audit 'balanced-match': [ '1.0.2' ],
42 silly audit 'base64-js': [ '1.5.1' ],
42 silly audit 'bcrypt-pbkdf': [ '1.0.2' ],
42 silly audit 'binary-extensions': [ '2.2.0' ],
42 silly audit 'block-stream': [ '0.0.9' ],
42 silly audit boolean: [ '3.1.4' ],
42 silly audit 'brace-expansion': [ '1.1.11' ],
42 silly audit braces: [ '3.0.2' ],
42 silly audit 'browser-stdout': [ '1.3.1' ],
42 silly audit buffer: [ '4.9.2' ],
42 silly audit 'buffer-crc32': [ '0.2.13' ],
42 silly audit 'buffer-from': [ '1.1.2' ],
42 silly audit 'cacheable-request': [ '6.1.0' ],
42 silly audit 'get-stream': [ '5.2.0', '4.1.0' ],
42 silly audit 'lowercase-keys': [ '2.0.0', '1.0.1' ],
42 silly audit 'caller-path': [ '0.1.0' ],
42 silly audit callsites: [ '0.2.0' ],
42 silly audit camelcase: [ '6.2.1', '5.3.1' ],
42 silly audit caseless: [ '0.12.0' ],
42 silly audit chalk: [ '1.1.3', '4.1.2', '2.4.2' ],
42 silly audit chokidar: [ '3.5.1' ],
42 silly audit chownr: [ '2.0.0', '1.1.4' ],
42 silly audit 'circular-json': [ '0.3.3' ],
42 silly audit 'cli-cursor': [ '1.0.2', '2.1.0' ],
42 silly audit 'cli-spinners': [ '2.6.1' ],
42 silly audit 'cli-width': [ '2.2.1' ],
42 silly audit cliui: [ '7.0.4', '5.0.0' ],
42 silly audit 'is-fullwidth-code-point': [ '3.0.0', '2.0.0', '1.0.0' ],
42 silly audit 'string-width': [ '4.2.3', '3.1.0', '1.0.2', '2.1.1' ],
42 silly audit 'strip-ansi': [ '6.0.1', '5.2.0', '3.0.1', '4.0.0' ],
42 silly audit clone: [ '1.0.4' ],
42 silly audit 'clone-response': [ '1.0.2' ],
42 silly audit co: [ '4.6.0' ],
42 silly audit 'code-point-at': [ '1.1.0' ],
42 silly audit 'color-convert': [ '1.9.3', '2.0.1' ],
42 silly audit 'color-name': [ '1.1.3', '1.1.4' ],
42 silly audit 'color-support': [ '1.1.3' ],
42 silly audit colors: [ '1.4.0' ],
42 silly audit 'combined-stream': [ '1.0.8' ],
42 silly audit commander: [ '2.15.1' ],
42 silly audit 'concat-map': [ '0.0.1' ],
42 silly audit 'concat-stream': [ '1.6.2' ],
42 silly audit 'config-chain': [ '1.1.13' ],
42 silly audit 'console-control-strings': [ '1.1.0' ],
42 silly audit 'core-util-is': [ '1.0.3', '1.0.2' ],
42 silly audit d: [ '1.0.1' ],
42 silly audit dashdash: [ '1.14.1' ],
42 silly audit debug: [ '4.3.2', '4.3.1', '2.6.9', '3.1.0', '3.2.7' ],
42 silly audit decamelize: [ '4.0.0', '1.2.0' ],
42 silly audit 'decompress-response': [ '3.3.0' ],
42 silly audit 'deep-extend': [ '0.6.0' ],
42 silly audit 'deep-is': [ '0.1.4' ],
42 silly audit defaults: [ '1.0.3' ],
42 silly audit 'defer-to-connect': [ '1.1.3' ],
42 silly audit 'define-properties': [ '1.1.3' ],
42 silly audit 'delayed-stream': [ '1.0.0' ],
42 silly audit delegates: [ '1.0.0' ],
42 silly audit 'detect-libc': [ '1.0.3' ],
42 silly audit 'detect-node': [ '2.1.0' ],
42 silly audit diff: [ '3.5.0', '5.0.0' ],
42 silly audit doctrine: [ '1.5.0' ],
42 silly audit duplexer3: [ '0.1.4' ],
42 silly audit 'ecc-jsbn': [ '0.1.2' ],
42 silly audit electron: [ '11.5.0' ],
42 silly audit 'electron-mocha': [ '10.1.0' ],
42 silly audit 'supports-color': [ '7.2.0', '8.1.1', '5.4.0', '5.5.0', '2.0.0' ],
42 silly audit 'escape-string-regexp': [ '4.0.0', '1.0.5' ],
42 silly audit 'fs-extra': [ '10.0.0', '8.1.0' ],
42 silly audit glob: [ '7.1.6', '7.2.0', '7.1.2' ],
42 silly audit he: [ '1.2.0', '1.1.1' ],
42 silly audit 'js-yaml': [ '4.0.0', '3.14.1' ],
42 silly audit jsonfile: [ '6.1.0', '4.0.0' ],
42 silly audit mocha: [ '8.4.0', '5.2.0' ],
42 silly audit 'log-symbols': [ '4.0.0', '4.1.0', '2.2.0' ],
42 silly audit ms: [ '2.1.3', '2.0.0', '2.1.2' ],
42 silly audit 'strip-json-comments': [ '3.1.1', '2.0.1', '1.0.4' ],
42 silly audit universalify: [ '2.0.0', '0.1.2' ],
42 silly audit 'wide-align': [ '1.1.3', '1.1.5' ],
42 silly audit 'yargs-parser': [ '20.2.4', '15.0.3', '20.2.9' ],
42 silly audit 'electron-rebuild': [ '1.11.0' ],
42 silly audit 'emoji-regex': [ '7.0.3', '8.0.0' ],
42 silly audit 'find-up': [ '3.0.0', '5.0.0' ],
42 silly audit 'locate-path': [ '3.0.0', '6.0.0' ],
42 silly audit 'p-limit': [ '2.3.0', '3.1.0' ],
42 silly audit 'p-locate': [ '3.0.0', '5.0.0' ],
42 silly audit 'path-exists': [ '3.0.0', '4.0.0' ],
42 silly audit 'wrap-ansi': [ '5.1.0', '7.0.0' ],
42 silly audit y18n: [ '4.0.3', '5.0.8' ],
42 silly audit yargs: [ '14.2.3', '16.2.0' ],
42 silly audit 'electron-window': [ '0.8.1' ],
42 silly audit encodeurl: [ '1.0.2' ],
42 silly audit 'end-of-stream': [ '1.4.4' ],
42 silly audit 'env-paths': [ '2.2.1' ],
42 silly audit 'es5-ext': [ '0.10.53' ],
42 silly audit 'es6-error': [ '4.1.1' ],
42 silly audit 'es6-iterator': [ '2.0.3' ],
42 silly audit 'es6-map': [ '0.1.5' ],
42 silly audit 'es6-set': [ '0.1.5' ],
42 silly audit 'es6-symbol': [ '3.1.1', '3.1.3' ],
42 silly audit 'es6-weak-map': [ '2.0.3' ],
42 silly audit escalade: [ '3.1.1' ],
42 silly audit escope: [ '3.6.0' ],
42 silly audit eslint: [ '3.5.0' ],
42 silly audit progress: [ '1.1.8', '2.0.3' ],
42 silly audit espree: [ '3.5.4' ],
42 silly audit esprima: [ '4.0.1' ],
42 silly audit esrecurse: [ '4.3.0' ],
42 silly audit estraverse: [ '5.3.0', '4.3.0' ],
42 silly audit esutils: [ '2.0.3' ],
42 silly audit 'event-emitter': [ '0.3.5' ],
42 silly audit events: [ '1.1.1' ],
42 silly audit 'exit-hook': [ '1.1.1' ],
42 silly audit ext: [ '1.6.0' ],
42 silly audit type: [ '2.5.0', '1.2.0' ],
42 silly audit extend: [ '3.0.2' ],
42 silly audit 'extract-zip': [ '1.7.0' ],
42 silly audit extsprintf: [ '1.3.0' ],
42 silly audit 'fast-deep-equal': [ '3.1.3' ],
42 silly audit 'fast-json-stable-stringify': [ '2.1.0' ],
42 silly audit 'fast-levenshtein': [ '2.0.6' ],
42 silly audit 'fd-slicer': [ '1.1.0' ],
42 silly audit figures: [ '1.7.0' ],
42 silly audit 'file-entry-cache': [ '2.0.0' ],
42 silly audit 'fill-range': [ '7.0.1' ],
42 silly audit flat: [ '5.0.2' ],
42 silly audit 'flat-cache': [ '1.3.4' ],
42 silly audit rimraf: [ '2.6.3', '2.7.1', '3.0.2' ],
42 silly audit 'forever-agent': [ '0.6.1' ],
42 silly audit 'form-data': [ '2.3.3' ],
42 silly audit 'fs-minipass': [ '2.1.0', '1.2.7' ],
42 silly audit 'fs.realpath': [ '1.0.0' ],
42 silly audit fsevents: [ '2.3.2' ],
42 silly audit fstream: [ '1.0.12' ],
42 silly audit gauge: [ '4.0.0', '2.7.4' ],
42 silly audit 'generate-function': [ '2.3.1' ],
42 silly audit 'generate-object-property': [ '1.2.0' ],
42 silly audit 'get-caller-file': [ '2.0.5' ],
42 silly audit getpass: [ '0.1.7' ],
42 silly audit 'glob-parent': [ '5.1.2' ],
42 silly audit 'global-agent': [ '3.0.0' ],
42 silly audit 'global-tunnel-ng': [ '2.7.1' ],
42 silly audit globals: [ '9.18.0' ],
42 silly audit globalthis: [ '1.0.2' ],
42 silly audit got: [ '9.6.0' ],
42 silly audit 'graceful-fs': [ '4.2.8' ],
42 silly audit growl: [ '1.10.5' ],
42 silly audit 'har-schema': [ '2.0.0' ],
42 silly audit 'har-validator': [ '5.1.5' ],
42 silly audit 'has-ansi': [ '2.0.0' ],
42 silly audit 'has-flag': [ '4.0.0', '3.0.0' ],
42 silly audit 'has-unicode': [ '2.0.1' ],
42 silly audit 'http-cache-semantics': [ '4.1.0' ],
42 silly audit 'http-signature': [ '1.2.0' ],
42 silly audit 'https-proxy-agent': [ '5.0.0' ],
42 silly audit 'iconv-lite': [ '0.4.24' ],
42 silly audit ieee754: [ '1.1.13' ],
42 silly audit ignore: [ '3.3.10' ],
42 silly audit 'ignore-walk': [ '3.0.4' ],
42 silly audit imurmurhash: [ '0.1.4' ],
42 silly audit inflight: [ '1.0.6' ],
42 silly audit inherits: [ '2.0.4' ],
42 silly audit ini: [ '1.3.8' ],
42 silly audit inquirer: [ '0.12.0' ],
42 silly audit 'is-binary-path': [ '2.1.0' ],
42 silly audit 'is-electron-renderer': [ '2.0.1' ],
42 silly audit 'is-extglob': [ '2.1.1' ],
42 silly audit 'is-glob': [ '4.0.3' ],
42 silly audit 'is-my-ip-valid': [ '1.0.0' ],
42 silly audit 'is-my-json-valid': [ '2.20.6' ],
42 silly audit 'is-number': [ '7.0.0' ],
42 silly audit 'is-plain-obj': [ '2.1.0' ],
42 silly audit 'is-property': [ '1.0.2' ],
42 silly audit 'is-resolvable': [ '1.1.0' ],
42 silly audit 'is-typedarray': [ '1.0.0' ],
42 silly audit 'is-unicode-supported': [ '0.1.0' ],
42 silly audit isarray: [ '1.0.0' ],
42 silly audit isexe: [ '2.0.0' ],
42 silly audit isstream: [ '0.1.2' ],
42 silly audit jmespath: [ '0.15.0' ],
42 silly audit jsbn: [ '0.1.1' ],
42 silly audit 'json-buffer': [ '3.0.0' ],
42 silly audit 'json-schema': [ '0.2.3' ],
42 silly audit 'json-schema-traverse': [ '0.4.1' ],
42 silly audit 'json-stable-stringify': [ '1.0.1' ],
42 silly audit 'json-stringify-safe': [ '5.0.1' ],
42 silly audit jsonify: [ '0.0.0' ],
42 silly audit jsonpointer: [ '5.0.0' ],
42 silly audit jsprim: [ '1.4.1' ],
42 silly audit keyv: [ '3.1.0' ],
42 silly audit levn: [ '0.3.0' ],
42 silly audit lodash: [ '4.17.21' ],
42 silly audit 'lodash.assign': [ '4.2.0' ],
42 silly audit 'lru-cache': [ '6.0.0' ],
42 silly audit 'make-dir': [ '3.1.0' ],
42 silly audit matcher: [ '3.0.0' ],
42 silly audit 'mime-db': [ '1.51.0' ],
42 silly audit 'mime-types': [ '2.1.34' ],
42 silly audit 'mimic-fn': [ '1.2.0' ],
42 silly audit 'mimic-response': [ '1.0.1' ],
42 silly audit minimatch: [ '3.0.4' ],
42 silly audit minimist: [ '1.2.5', '0.0.8' ],
42 silly audit minipass: [ '3.1.5', '2.9.0' ],
42 silly audit minizlib: [ '2.1.2', '1.3.3' ],
42 silly audit mkdirp: [ '0.5.5', '0.5.1', '1.0.4' ],
42 silly audit 'mute-stream': [ '0.0.5' ],
42 silly audit nanoid: [ '3.1.20' ],
42 silly audit 'natural-compare': [ '1.4.0' ],
42 silly audit needle: [ '2.9.1' ],
42 silly audit sax: [ '1.2.4', '1.2.1' ],
42 silly audit 'next-tick': [ '1.0.0' ],
42 silly audit 'node-abi': [ '2.30.1' ],
42 silly audit 'node-addon-api': [ '3.2.1' ],
42 silly audit 'node-fetch': [ '2.6.6' ],
42 silly audit 'node-gyp': [ '6.1.0', '3.8.0' ],
42 silly audit nopt: [ '4.0.3', '5.0.0', '3.0.6' ],
42 silly audit npmlog: [ '4.1.2', '6.0.0' ],
42 silly audit 'safe-buffer': [ '5.2.1', '5.1.2' ],
42 silly audit tar: [ '4.4.19', '2.2.2', '6.1.11' ],
42 silly audit which: [ '1.3.1', '2.0.2' ],
42 silly audit yallist: [ '3.1.1', '4.0.0' ],
42 silly audit 'node-pre-gyp': [ '0.11.0' ],
42 silly audit 'normalize-path': [ '3.0.0' ],
42 silly audit 'normalize-url': [ '4.5.1' ],
42 silly audit 'npm-bundled': [ '1.1.2' ],
42 silly audit 'npm-conf': [ '1.1.3' ],
42 silly audit 'npm-normalize-package-bin': [ '1.0.1' ],
42 silly audit 'npm-packlist': [ '1.4.8' ],
42 silly audit 'number-is-nan': [ '1.0.1' ],
42 silly audit 'oauth-sign': [ '0.9.0' ],
42 silly audit 'object-assign': [ '4.1.1' ],
42 silly audit 'object-keys': [ '1.1.1' ],
42 silly audit once: [ '1.4.0' ],
42 silly audit onetime: [ '1.1.0', '2.0.1' ],
42 silly audit optionator: [ '0.8.3' ],
42 silly audit ora: [ '3.4.0' ],
42 silly audit 'restore-cursor': [ '2.0.0', '1.0.1' ],
42 silly audit 'os-homedir': [ '1.0.2' ],
42 silly audit 'os-tmpdir': [ '1.0.2' ],
42 silly audit osenv: [ '0.1.5' ],
42 silly audit 'p-cancelable': [ '1.1.0' ],
42 silly audit 'p-try': [ '2.2.0' ],
42 silly audit 'path-is-absolute': [ '1.0.1' ],
42 silly audit 'path-is-inside': [ '1.0.2' ],
42 silly audit pend: [ '1.2.0' ],
42 silly audit 'performance-now': [ '2.1.0' ],
42 silly audit picomatch: [ '2.3.0' ],
42 silly audit pify: [ '3.0.0' ],
42 silly audit pluralize: [ '1.2.1' ],
42 silly audit 'prelude-ls': [ '1.1.2' ],
42 silly audit 'prepend-http': [ '2.0.0' ],
42 silly audit 'process-nextick-args': [ '2.0.1' ],
42 silly audit 'proto-list': [ '1.2.4' ],
42 silly audit psl: [ '1.8.0' ],
42 silly audit pump: [ '3.0.0' ],
42 silly audit punycode: [ '2.1.1', '1.3.2' ],
42 silly audit qs: [ '6.5.2' ],
42 silly audit querystring: [ '0.2.0' ],
42 silly audit randombytes: [ '2.1.0' ],
42 silly audit rc: [ '1.2.8' ],
42 silly audit readdirp: [ '3.5.0' ],
42 silly audit readline2: [ '1.0.1' ],
42 silly audit request: [ '2.88.2' ],
42 silly audit 'require-directory': [ '2.1.1' ],
42 silly audit 'require-main-filename': [ '2.0.0' ],
42 silly audit 'require-uncached': [ '1.0.3' ],
42 silly audit 'resolve-from': [ '1.0.1' ],
42 silly audit responselike: [ '1.0.2' ],
42 silly audit roarr: [ '2.15.4' ],
42 silly audit 'sprintf-js': [ '1.1.2', '1.0.3' ],
42 silly audit 'run-async': [ '0.1.0' ],
42 silly audit 'rx-lite': [ '3.1.2' ],
42 silly audit rxjs: [ '6.6.7' ],
42 silly audit 'safer-buffer': [ '2.1.2' ],
42 silly audit 'semver-compare': [ '1.0.0' ],
42 silly audit 'serialize-error': [ '7.0.1' ],
42 silly audit 'serialize-javascript': [ '5.0.1' ],
42 silly audit 'set-blocking': [ '2.0.0' ],
42 silly audit shelljs: [ '0.6.1' ],
42 silly audit 'signal-exit': [ '3.0.6' ],
42 silly audit 'slice-ansi': [ '0.0.4' ],
42 silly audit 'spawn-rx': [ '3.0.0' ],
42 silly audit sqlite3: [ '5.0.2' ],
42 silly audit sshpk: [ '1.16.1' ],
42 silly audit string_decoder: [ '1.1.1' ],
42 silly audit 'strip-bom': [ '3.0.0' ],
42 silly audit sumchecker: [ '3.0.1' ],
42 silly audit table: [ '3.8.3' ],
42 silly audit 'text-table': [ '0.2.0' ],
42 silly audit through: [ '2.3.8' ],
42 silly audit 'to-readable-stream': [ '1.0.0' ],
42 silly audit 'to-regex-range': [ '5.0.1' ],
42 silly audit 'tough-cookie': [ '2.5.0' ],
42 silly audit tr46: [ '0.0.3' ],
42 silly audit tslib: [ '1.14.1' ],
42 silly audit tunnel: [ '0.0.6' ],
42 silly audit 'tunnel-agent': [ '0.6.0' ],
42 silly audit tweetnacl: [ '0.14.5' ],
42 silly audit 'type-check': [ '0.3.2' ],
42 silly audit 'type-fest': [ '0.13.1' ],
42 silly audit typedarray: [ '0.0.6' ],
42 silly audit 'uri-js': [ '4.4.1' ],
42 silly audit url: [ '0.10.3' ],
42 silly audit 'url-parse-lax': [ '3.0.0' ],
42 silly audit 'user-home': [ '2.0.0' ],
42 silly audit 'util-deprecate': [ '1.0.2' ],
42 silly audit uuid: [ '3.3.2' ],
42 silly audit verror: [ '1.10.0' ],
42 silly audit wcwidth: [ '1.0.1' ],
42 silly audit 'webidl-conversions': [ '3.0.1' ],
42 silly audit 'whatwg-url': [ '5.0.0' ],
42 silly audit 'which-module': [ '2.0.0' ],
42 silly audit 'word-wrap': [ '1.2.3' ],
42 silly audit workerpool: [ '6.1.0' ],
42 silly audit wrappy: [ '1.0.2' ],
42 silly audit write: [ '0.2.1' ],
42 silly audit xml2js: [ '0.4.19' ],
42 silly audit xmlbuilder: [ '9.0.7' ],
42 silly audit xtend: [ '4.0.2' ],
42 silly audit 'yargs-unparser': [ '2.0.0' ],
42 silly audit yauzl: [ '2.10.0' ],
42 silly audit 'yocto-queue': [ '0.1.0' ]
42 silly audit }
43 timing reify:unpack Completed in 2ms
44 timing reify:unretire Completed in 0ms
45 timing build:queue Completed in 0ms
46 timing build:deps Completed in 1ms
47 timing build Completed in 1ms
48 timing reify:build Completed in 1ms
49 timing reify:trash Completed in 0ms
50 timing reify:save Completed in 70ms
51 http fetch POST 404 https://registry.npmmirror.com/-/npm/v1/security/advisories/bulk 578ms
52 silly audit bulk request failed [object Object]
53 http fetch POST 404 https://registry.npmmirror.com/-/npm/v1/security/audits/quick 167ms
54 verbose audit error HttpErrorGeneral: 404 Not Found - POST https://registry.npmmirror.com/-/npm/v1/security/audits/quick - [not_found] document not found
54 verbose audit error at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:95:15
54 verbose audit error at processTicksAndRejections (node:internal/process/task_queues:96:5)
54 verbose audit error at async Map.[getReport] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:337:21)
54 verbose audit error at async Map.run (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:107:19)
54 verbose audit error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
54 verbose audit error at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:170:5)
54 verbose audit error HttpErrorGeneral: 404 Not Found - POST https://registry.npmmirror.com/-/npm/v1/security/audits/quick - [not_found] document not found
54 verbose audit error at /usr/local/lib/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:95:15
54 verbose audit error at processTicksAndRejections (node:internal/process/task_queues:96:5)
54 verbose audit error at async Map.[getReport] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:337:21)
54 verbose audit error at async Map.run (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/audit-report.js:107:19)
54 verbose audit error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
54 verbose audit error at async Install.install (/usr/local/lib/node_modules/npm/lib/install.js:170:5) {
54 verbose audit error headers: [Object: null prototype] {
54 verbose audit error server: [ 'Tengine' ],
54 verbose audit error 'content-type': [ 'application/json; charset=utf-8' ],
54 verbose audit error 'transfer-encoding': [ 'chunked' ],
54 verbose audit error connection: [ 'keep-alive' ],
54 verbose audit error 'strict-transport-security': [ 'max-age=5184000' ],
54 verbose audit error date: [ 'Fri, 26 Nov 2021 03:02:36 GMT' ],
54 verbose audit error 'x-current-requests': [ '1' ],
54 verbose audit error vary: [ 'Origin' ],
54 verbose audit error 'x-readtime': [ '1' ],
54 verbose audit error 'content-encoding': [ 'gzip' ],
54 verbose audit error 'x-alicdn-da-ups-status': [ 'endOs,0,404' ],
54 verbose audit error via: [ 'cache27.l2cm9-7[73,0], kunlun3.cn19[99,0]' ],
54 verbose audit error 'timing-allow-origin': [ '*' ],
54 verbose audit error eagleid: [ '7c5f9d9716378957561626107e' ],
54 verbose audit error 'x-fetch-attempts': [ '1' ]
54 verbose audit error },
54 verbose audit error statusCode: 404,
54 verbose audit error code: 'E404',
54 verbose audit error method: 'POST',
54 verbose audit error uri: 'https://registry.npmmirror.com/-/npm/v1/security/audits/quick',
54 verbose audit error body: {
54 verbose audit error error: '[not_found] document not found',
54 verbose audit error reason: '[not_found] document not found'
54 verbose audit error },
54 verbose audit error pkgid: undefined
54 verbose audit error }
55 silly audit error [object Object]
56 timing auditReport:getReport Completed in 767ms
57 silly audit report null
58 timing reify:audit Completed in 767ms
59 timing reify Completed in 1159ms
60 timing command:install Completed in 40851ms
61 verbose stack Error: command failed
61 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
61 verbose stack at ChildProcess.emit (node:events:390:28)
61 verbose stack at maybeClose (node:internal/child_process:1064:16)
61 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
62 verbose pkgid @journeyapps/[email protected]
63 verbose cwd /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
64 verbose Darwin 20.6.0
65 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--build-from-source" "--target_arch=arm64" "--target_platform=darwin"
66 verbose node v16.10.0
67 verbose npm v8.0.0
68 error code 1
69 error path /Users/terry/Documents/code/erp-v2-15/pc-client/node_modules/@journeyapps/sqlcipher
70 error command failed
71 error command sh -c node-pre-gyp install --fallback-to-build
72 verbose exit 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants