I’m running Hassio on PI3B+. I do all my automation in node-red.I tried installing “node-red-contrib-chatbot” under the “manage palette” --> “install” but keep getting following error. Not sure what is going on here. Any help would be useful.
‘’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’
2020-02-23T19:11:39.499Z Install : node-red-contrib-chatbot 0.18.12
2020-02-23T19:11:39.542Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production [email protected]
2020-02-23T19:12:13.751Z [err] npm
2020-02-23T19:12:13.751Z [err] WARN deprecated
2020-02-23T19:12:13.751Z [err] @types/[email protected]: This is a stub types definition. form-data provides its own type definitions, so you do not need this installed.
2020-02-23T19:12:13.778Z [err] npm
2020-02-23T19:12:13.778Z [err] WARN
2020-02-23T19:12:13.779Z [err] deprecated @types/[email protected]: This is a stub types definition. p-cancelable provides its own type definitions, so you do not need this installed.
2020-02-23T19:12:13.806Z [err] npm
2020-02-23T19:12:13.806Z [err]
2020-02-23T19:12:13.807Z [err] WARN
2020-02-23T19:12:13.807Z [err]
2020-02-23T19:12:13.807Z [err] deprecated
2020-02-23T19:12:13.808Z [err] @types/[email protected]: This is a stub types definition. p-retry provides its own type definitions, so you do not need this installed.
2020-02-23T19:13:21.611Z [err] npm
2020-02-23T19:13:21.611Z [err] WARN
2020-02-23T19:13:21.611Z [err] deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-02-23T19:13:36.822Z [err] npm
2020-02-23T19:13:36.822Z [err] WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
2020-02-23T19:14:03.783Z [out]
2020-02-23T19:14:03.783Z [out] > [email protected] install /config/node-red/node_modules/grpc
2020-02-23T19:14:03.783Z [out] > node-pre-gyp install --fallback-to-build --library=static_library
2020-02-23T19:14:03.783Z [out]
2020-02-23T19:14:05.277Z [err] node-pre-gyp
2020-02-23T19:14:05.280Z [err]
2020-02-23T19:14:05.281Z [err] WARN
2020-02-23T19:14:05.281Z [err] Using request for node-pre-gyp https download
2020-02-23T19:14:05.281Z [err]
2020-02-23T19:14:06.090Z [err] node-pre-gyp
2020-02-23T19:14:06.091Z [err] WARN
2020-02-23T19:14:06.091Z [err]
2020-02-23T19:14:06.091Z [err] Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.24.2/node-v72-linux-arm-musl.tar.gz
2020-02-23T19:14:06.091Z [err]
2020-02-23T19:14:06.092Z [err] node-pre-gyp
2020-02-23T19:14:06.092Z [err]
2020-02-23T19:14:06.092Z [err] WARN
2020-02-23T19:14:06.092Z [err]
2020-02-23T19:14:06.092Z [err] Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, musl) (falling back to source compile with node-gyp)
2020-02-23T19:14:06.092Z [err]
2020-02-23T19:14:10.638Z [err] gyp
2020-02-23T19:14:10.641Z [err]
2020-02-23T19:14:10.641Z [err] ERR!
2020-02-23T19:14:10.641Z [err] build error
2020-02-23T19:14:10.642Z [err]
2020-02-23T19:14:10.644Z [err] gyp
2020-02-23T19:14:10.645Z [err]
2020-02-23T19:14:10.645Z [err] ERR!
2020-02-23T19:14:10.645Z [err]
2020-02-23T19:14:10.645Z [err] stack
2020-02-23T19:14:10.645Z [err] Error: not found: make
2020-02-23T19:14:10.645Z [err] gyp
2020-02-23T19:14:10.646Z [err]
2020-02-23T19:14:10.646Z [err] ERR!
2020-02-23T19:14:10.646Z [err]
2020-02-23T19:14:10.646Z [err] stack
2020-02-23T19:14:10.646Z [err] at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2020-02-23T19:14:10.646Z [err] gyp
2020-02-23T19:14:10.646Z [err]
2020-02-23T19:14:10.646Z [err] ERR!
2020-02-23T19:14:10.647Z [err]
2020-02-23T19:14:10.647Z [err] stack
2020-02-23T19:14:10.647Z [err] at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2020-02-23T19:14:10.647Z [err] gyp
2020-02-23T19:14:10.647Z [err]
2020-02-23T19:14:10.647Z [err] ERR!
2020-02-23T19:14:10.647Z [err]
2020-02-23T19:14:10.647Z [err] stack
2020-02-23T19:14:10.648Z [err] at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2020-02-23T19:14:10.648Z [err] gyp
2020-02-23T19:14:10.648Z [err]
2020-02-23T19:14:10.648Z [err] ERR!
2020-02-23T19:14:10.648Z [err]
2020-02-23T19:14:10.649Z [err] stack
2020-02-23T19:14:10.649Z [err] at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2020-02-23T19:14:10.649Z [err] gyp
2020-02-23T19:14:10.649Z [err]
2020-02-23T19:14:10.649Z [err] ERR!
2020-02-23T19:14:10.649Z [err]
2020-02-23T19:14:10.649Z [err] stack
2020-02-23T19:14:10.649Z [err] at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2020-02-23T19:14:10.649Z [err] gyp
2020-02-23T19:14:10.649Z [err]
2020-02-23T19:14:10.650Z [err] ERR!
2020-02-23T19:14:10.650Z [err] stack
2020-02-23T19:14:10.650Z [err] at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2020-02-23T19:14:10.650Z [err] gyp
2020-02-23T19:14:10.650Z [err]
2020-02-23T19:14:10.650Z [err] ERR!
2020-02-23T19:14:10.650Z [err]
2020-02-23T19:14:10.650Z [err] stack
2020-02-23T19:14:10.651Z [err] at FSReqCallback.oncomplete (fs.js:158:21)
2020-02-23T19:14:10.651Z [err] gyp
2020-02-23T19:14:10.652Z [err] ERR!
2020-02-23T19:14:10.652Z [err] System
2020-02-23T19:14:10.652Z [err] Linux 4.19.93-v7
2020-02-23T19:14:10.652Z [err] gyp
2020-02-23T19:14:10.652Z [err]
2020-02-23T19:14:10.652Z [err] ERR!
2020-02-23T19:14:10.653Z [err] command
2020-02-23T19:14:10.653Z [err] “/usr/bin/node” “/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “build” “–fallback-to-build” “–library=static_library” “–module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl/grpc_node.node” “–module_name=grpc_node” “–module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl” “–napi_version=5” “–node_abi_napi=napi” “–napi_build_version=0” “–node_napi_label=node-v72”
2020-02-23T19:14:10.653Z [err] gyp
2020-02-23T19:14:10.653Z [err]
2020-02-23T19:14:10.653Z [err] ERR!
2020-02-23T19:14:10.653Z [err] cwd
2020-02-23T19:14:10.653Z [err] /config/node-red/node_modules/grpc
2020-02-23T19:14:10.654Z [err] gyp
2020-02-23T19:14:10.654Z [err]
2020-02-23T19:14:10.654Z [err] ERR!
2020-02-23T19:14:10.654Z [err] node -v
2020-02-23T19:14:10.654Z [err] v12.14.0
2020-02-23T19:14:10.654Z [err] gyp
2020-02-23T19:14:10.654Z [err]
2020-02-23T19:14:10.654Z [err] ERR!
2020-02-23T19:14:10.655Z [err] node-gyp -v
2020-02-23T19:14:10.655Z [err] v5.0.5
2020-02-23T19:14:10.655Z [err] gyp
2020-02-23T19:14:10.655Z [err]
2020-02-23T19:14:10.655Z [err] ERR!
2020-02-23T19:14:10.655Z [err] not ok
2020-02-23T19:14:10.655Z [err]
2020-02-23T19:14:10.663Z [err] node-pre-gyp
2020-02-23T19:14:10.663Z [err] ERR!
2020-02-23T19:14:10.663Z [err]
2020-02-23T19:14:10.663Z [err] build error
2020-02-23T19:14:10.666Z [err] node-pre-gyp
2020-02-23T19:14:10.666Z [err] ERR!
2020-02-23T19:14:10.666Z [err] stack
2020-02-23T19:14:10.666Z [err] Error: Failed to execute ‘/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl/grpc_node.node --module_name=grpc_node --module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72’ (1)
2020-02-23T19:14:10.667Z [err] node-pre-gyp
2020-02-23T19:14:10.667Z [err]
2020-02-23T19:14:10.667Z [err] ERR!
2020-02-23T19:14:10.667Z [err] stack
2020-02-23T19:14:10.667Z [err] at ChildProcess. (/config/node-red/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
2020-02-23T19:14:10.667Z [err] node-pre-gyp
2020-02-23T19:14:10.667Z [err]
2020-02-23T19:14:10.667Z [err] ERR!
2020-02-23T19:14:10.668Z [err] stack
2020-02-23T19:14:10.668Z [err] at ChildProcess.emit (events.js:210:5)
2020-02-23T19:14:10.668Z [err] node-pre-gyp
2020-02-23T19:14:10.668Z [err]
2020-02-23T19:14:10.668Z [err] ERR!
2020-02-23T19:14:10.668Z [err] stack
2020-02-23T19:14:10.668Z [err] at maybeClose (internal/child_process.js:1021:16)
2020-02-23T19:14:10.669Z [err] node-pre-gyp
2020-02-23T19:14:10.669Z [err]
2020-02-23T19:14:10.669Z [err] ERR!
2020-02-23T19:14:10.669Z [err] stack
2020-02-23T19:14:10.669Z [err] at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
2020-02-23T19:14:10.670Z [err] node-pre-gyp
2020-02-23T19:14:10.670Z [err] ERR!
2020-02-23T19:14:10.671Z [err] System
2020-02-23T19:14:10.671Z [err] Linux 4.19.93-v7
2020-02-23T19:14:10.671Z [err] node-pre-gyp
2020-02-23T19:14:10.671Z [err]
2020-02-23T19:14:10.671Z [err] ERR!
2020-02-23T19:14:10.671Z [err] command
2020-02-23T19:14:10.672Z [err] “/usr/bin/node” “/config/node-red/node_modules/grpc/node_modules/.bin/node-pre-gyp” “install” “–fallback-to-build” “–library=static_library”
2020-02-23T19:14:10.672Z [err] node-pre-gyp
2020-02-23T19:14:10.672Z [err]
2020-02-23T19:14:10.672Z [err] ERR!
2020-02-23T19:14:10.672Z [err] cwd
2020-02-23T19:14:10.672Z [err] /config/node-red/node_modules/grpc
2020-02-23T19:14:10.672Z [err] node-pre-gyp
2020-02-23T19:14:10.672Z [err]
2020-02-23T19:14:10.672Z [err] ERR!
2020-02-23T19:14:10.673Z [err] node -v
2020-02-23T19:14:10.673Z [err] v12.14.0
2020-02-23T19:14:10.673Z [err] node-pre-gyp
2020-02-23T19:14:10.673Z [err]
2020-02-23T19:14:10.673Z [err] ERR!
2020-02-23T19:14:10.673Z [err] node-pre-gyp -v
2020-02-23T19:14:10.673Z [err] v0.14.0
2020-02-23T19:14:10.674Z [err] node-pre-gyp
2020-02-23T19:14:10.674Z [err]
2020-02-23T19:14:10.674Z [err] ERR!
2020-02-23T19:14:10.674Z [err] not ok
2020-02-23T19:14:10.674Z [err]
2020-02-23T19:14:10.676Z [out] Failed to execute ‘/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl/grpc_node.node --module_name=grpc_node --module_path=/config/node-red/node_modules/grpc/src/node/extension_binary/node-v72-linux-arm-musl --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72’ (1)
2020-02-23T19:14:17.489Z [err] npm
2020-02-23T19:14:17.490Z [err] WARN [email protected] requires a peer of babel-core@6 but none is installed. You must install peer dependencies yourself.
2020-02-23T19:14:17.490Z [err] npm
2020-02-23T19:14:17.490Z [err] WARN
2020-02-23T19:14:17.490Z [err] [email protected] requires a peer of webpack@2 || 3 || 4 but none is installed. You must install peer dependencies yourself.
2020-02-23T19:14:17.492Z [err]
2020-02-23T19:14:17.536Z [err] npm
2020-02-23T19:14:17.536Z [err] ERR! code ELIFECYCLE
2020-02-23T19:14:17.537Z [err] npm
2020-02-23T19:14:17.537Z [err]
2020-02-23T19:14:17.537Z [err] ERR!
2020-02-23T19:14:17.537Z [err] errno
2020-02-23T19:14:17.537Z [err] 1
2020-02-23T19:14:17.538Z [err] npm
2020-02-23T19:14:17.538Z [err] ERR! [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
2020-02-23T19:14:17.542Z [err] npm ERR! Exit status 1
2020-02-23T19:14:17.542Z [err] npm ERR!
2020-02-23T19:14:17.542Z [err] npm ERR! Failed at the [email protected] install script.
2020-02-23T19:14:17.542Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-02-23T19:14:17.799Z [err]
2020-02-23T19:14:17.800Z [err] npm
2020-02-23T19:14:17.800Z [err] ERR! A complete log of this run can be found in:
2020-02-23T19:14:17.800Z [err] npm
2020-02-23T19:14:17.800Z [err] ERR!
2020-02-23T19:14:17.800Z [err] /root/.npm/_logs/2020-02-23T19_14_17_719Z-debug.log
‘’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’
2020-02-23T19:14:17.851Z rc=1