TOUCH deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3.intermediate
ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3.intermediate
TOUCH Release/obj.target/deps/locate_sqlite3.stamp
CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
LIBTOOL-STATIC Release/sqlite3.a
CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
error: invalid value 'c++14' in '-std=c++14'
make: *** [Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1
rm deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3.intermediate
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:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "/usr/local/Cellar/node/9.11.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/Knight/Working/github/my-padlocal-bot/node_modules/better-sqlite3
gyp ERR! node -v v9.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! better-sqlite3@7.1.2 build-release: node-gyp rebuild --release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the better-sqlite3@7.1.2 build-release script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Knight/.npm/_logs/2021-02-13T12_17_54_797Z-debug.log
npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN my-padlocal-bot@1.0.0 No description
npm WARN my-padlocal-bot@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! better-sqlite3@7.1.2 install: prebuild-install || npm run build-release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the better-sqlite3@7.1.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Knight/.npm/_logs/2021-02-13T12_17_55_468Z-debug.log
npm install wechaty-puppet-padlocal@latest --registry=https://r.npm.taobao.org
prebuild-install WARN install No prebuilt binaries found (target=9.11.1 runtime=node arch=x64 libc= platform=darwin)
TOUCH deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3.intermediate ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3.intermediate TOUCH Release/obj.target/deps/locate_sqlite3.stamp CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o LIBTOOL-STATIC Release/sqlite3.a CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o error: invalid value 'c++14' in '-std=c++14' make: *** [Release/obj.target/better_sqlite3/src/better_sqlite3.o] Error 1 rm deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3.intermediate 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:258:23) gyp ERR! stack at ChildProcess.emit (events.js:180:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12) gyp ERR! System Darwin 14.0.0 gyp ERR! command "/usr/local/Cellar/node/9.11.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release" gyp ERR! cwd /Users/Knight/Working/github/my-padlocal-bot/node_modules/better-sqlite3 gyp ERR! node -v v9.11.1 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! better-sqlite3@7.1.2 build-release:node-gyp rebuild --release
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the better-sqlite3@7.1.2 build-release script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/Knight/.npm/_logs/2021-02-13T12_17_54_797Z-debug.log npm WARN ws@7.4.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.4.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN my-padlocal-bot@1.0.0 No description npm WARN my-padlocal-bot@1.0.0 No repository field.
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! better-sqlite3@7.1.2 install:
prebuild-install || npm run build-release
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the better-sqlite3@7.1.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/Knight/.npm/_logs/2021-02-13T12_17_55_468Z-debug.log