『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3432|回复: 2

[流程系列] nodered无法安装节点?求助

[复制链接]

7

主题

367

帖子

2089

积分

金牌会员

Rank: 6Rank: 6

积分
2089
金钱
1722
HASS币
0
发表于 2020-12-29 23:41:24 | 显示全部楼层 |阅读模式
本帖最后由 bjy2005 于 2020-12-29 23:41 编辑

如标题所说,运行环境斐讯 N1-Armbian
按照https://bbs.hassbian.com/thread-7747-1-1.html帖子使用一键安装的hassio 安装完nodered之后无法安装节点。 重新刷过N1系统也不行。。。求助

我也按照帖子修改过默认安装路径跟这个有关系?
安装时自定义数据路径/opt/hassio,默认的是/usr/share


nodered节点管理按照时候查看日志显示
-----------------------------------------------------------
2020-12-29T15:28:34.106Z 安装 : node-red-contrib-xiaomi-ble 1.3.1

2020-12-29T15:28:34.815Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2020-12-29T15:30:09.621Z [out]
2020-12-29T15:30:09.621Z [out] > [email protected] install /config/node-red/node_modules/@abandonware/bluetooth-hci-socket/node_modules/usb
2020-12-29T15:30:09.621Z [out] > prebuild-install --verbose || node-gyp rebuild
2020-12-29T15:30:09.621Z [out]
2020-12-29T15:30:10.794Z [err] prebuild-install
2020-12-29T15:30:10.799Z [err]  
2020-12-29T15:30:10.799Z [err] info begin Prebuild-install version 5.3.6
2020-12-29T15:30:10.829Z [err] prebuild-install
2020-12-29T15:30:10.829Z [err]  
2020-12-29T15:30:10.830Z [err] info looking for cached prebuild @
2020-12-29T15:30:10.830Z [err]  /root/.npm/_prebuilds/37f3e2-usb-v1.6.3-node-v72-linuxmusl-arm64.tar.gz
2020-12-29T15:30:10.832Z [err] prebuild-install
2020-12-29T15:30:10.833Z [err]  http request
2020-12-29T15:30:10.833Z [err]  GET https://github.com/tessel/node-u ... uxmusl-arm64.tar.gz
2020-12-29T15:30:12.064Z [err] prebuild-install
2020-12-29T15:30:12.065Z [err]  http
2020-12-29T15:30:12.065Z [err]  404 https://github.com/tessel/node-u ... uxmusl-arm64.tar.gz
2020-12-29T15:30:12.096Z [err] prebuild-install
2020-12-29T15:30:12.096Z [err]  WARN
2020-12-29T15:30:12.097Z [err] install No prebuilt binaries found (target=12.18.4 runtime=node arch=arm64 libc=musl platform=linux)
2020-12-29T15:30:15.769Z [err] gyp
2020-12-29T15:30:15.770Z [err]  
2020-12-29T15:30:15.771Z [err] ERR! build error
2020-12-29T15:30:15.774Z [err] gyp
2020-12-29T15:30:15.774Z [err]  ERR!
2020-12-29T15:30:15.775Z [err]  stack
2020-12-29T15:30:15.775Z [err]  Error: not found: make
2020-12-29T15:30:15.775Z [err] gyp ERR!
2020-12-29T15:30:15.775Z [err] stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2020-12-29T15:30:15.775Z [err] gyp ERR!
2020-12-29T15:30:15.776Z [err]  stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2020-12-29T15:30:15.776Z [err] gyp
2020-12-29T15:30:15.777Z [err]  ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2020-12-29T15:30:15.777Z [err] gyp
2020-12-29T15:30:15.777Z [err] ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2020-12-29T15:30:15.777Z [err] gyp
2020-12-29T15:30:15.778Z [err] ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2020-12-29T15:30:15.778Z [err] gyp ERR!
2020-12-29T15:30:15.778Z [err] stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2020-12-29T15:30:15.778Z [err] gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:168:21)
2020-12-29T15:30:15.779Z [err] gyp
2020-12-29T15:30:15.780Z [err]  ERR! System Linux 5.1.0-aml-s905
2020-12-29T15:30:15.780Z [err] gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-12-29T15:30:15.781Z [err] gyp ERR! cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socket/node_modules/usb
2020-12-29T15:30:15.781Z [err] gyp ERR! node -v v12.18.4
2020-12-29T15:30:15.782Z [err] gyp ERR! node-gyp -v v5.1.0
2020-12-29T15:30:15.782Z [err] gyp ERR! not ok
2020-12-29T15:30:15.840Z [out]
2020-12-29T15:30:15.840Z [out] > @abandonware/[email protected] install /config/node-red/node_modules/@abandonware/bluetooth-hci-socket
2020-12-29T15:30:15.840Z [out] > node-pre-gyp install --fallback-to-build
2020-12-29T15:30:15.840Z [out]
2020-12-29T15:30:17.684Z [err] node-pre-gyp
2020-12-29T15:30:17.688Z [err]  
2020-12-29T15:30:17.689Z [err] WARN Using request for node-pre-gyp https download
2020-12-29T15:30:18.900Z [err] node-pre-gyp
2020-12-29T15:30:18.900Z [err]  
2020-12-29T15:30:18.901Z [err] WARN
2020-12-29T15:30:18.901Z [err] Tried to download(404): https://github.com/abandonware/n ... -linux-arm64.tar.gz
2020-12-29T15:30:18.902Z [err] node-pre-gyp WARN
2020-12-29T15:30:18.902Z [err] Pre-built binaries not found for @abandonware/[email protected] and [email protected] (node-v72 ABI, musl) (falling back to source compile with node-gyp)
2020-12-29T15:30:24.297Z [err] gyp
2020-12-29T15:30:24.302Z [err]  
2020-12-29T15:30:24.303Z [err] ERR! build error
2020-12-29T15:30:24.306Z [err] gyp
2020-12-29T15:30:24.306Z [err]  ERR!
2020-12-29T15:30:24.307Z [err] stack Error: not found: make
2020-12-29T15:30:24.307Z [err] gyp ERR! stack
2020-12-29T15:30:24.308Z [err]      at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2020-12-29T15:30:24.308Z [err] gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2020-12-29T15:30:24.308Z [err] gyp
2020-12-29T15:30:24.309Z [err]  ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2020-12-29T15:30:24.309Z [err] gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2020-12-29T15:30:24.310Z [err] gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2020-12-29T15:30:24.310Z [err] gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2020-12-29T15:30:24.310Z [err] gyp
2020-12-29T15:30:24.310Z [err] ERR! stack     at FSReqCallback.oncomplete (fs.js:168:21)
2020-12-29T15:30:24.311Z [err] gyp
2020-12-29T15:30:24.312Z [err]  ERR! System Linux 5.1.0-aml-s905
2020-12-29T15:30:24.312Z [err] gyp ERR!
2020-12-29T15:30:24.313Z [err] command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node" "--module_name=bluetooth_hci_socket" "--module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
2020-12-29T15:30:24.313Z [err] gyp ERR!
2020-12-29T15:30:24.313Z [err]  cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socket
2020-12-29T15:30:24.313Z [err] gyp ERR! node -v
2020-12-29T15:30:24.314Z [err]  v12.18.4
2020-12-29T15:30:24.314Z [err] gyp ERR! node-gyp -v v5.1.0
2020-12-29T15:30:24.314Z [err] gyp ERR! not ok
2020-12-29T15:30:24.327Z [err] node-pre-gyp
2020-12-29T15:30:24.327Z [err]  ERR!
2020-12-29T15:30:24.328Z [err] build error
2020-12-29T15:30:24.331Z [err] node-pre-gyp
2020-12-29T15:30:24.332Z [err]  ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
2020-12-29T15:30:24.332Z [err] node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/config/node-red/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
2020-12-29T15:30:24.332Z [err] node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
2020-12-29T15:30:24.332Z [err] node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
2020-12-29T15:30:24.332Z [err] node-pre-gyp
2020-12-29T15:30:24.333Z [err]  ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
2020-12-29T15:30:24.334Z [err] node-pre-gyp
2020-12-29T15:30:24.335Z [err]  ERR! System Linux 5.1.0-aml-s905
2020-12-29T15:30:24.335Z [err] node-pre-gyp ERR!
2020-12-29T15:30:24.336Z [err]  command "/usr/bin/node" "/config/node-red/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2020-12-29T15:30:24.336Z [err] node-pre-gyp ERR! cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socket
2020-12-29T15:30:24.336Z [err] node-pre-gyp ERR! node -v v12.18.4
2020-12-29T15:30:24.336Z [err] node-pre-gyp
2020-12-29T15:30:24.337Z [err] ERR! node-pre-gyp -v v0.15.0
2020-12-29T15:30:24.337Z [err] node-pre-gyp ERR! not ok
2020-12-29T15:30:24.339Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
2020-12-29T15:30:24.381Z [out]
2020-12-29T15:30:24.381Z [out] > @abandonware/[email protected] install /config/node-red/node_modules/@abandonware/noble
2020-12-29T15:30:24.381Z [out] > node-gyp rebuild
2020-12-29T15:30:24.381Z [out]
2020-12-29T15:30:27.601Z [err] gyp
2020-12-29T15:30:27.603Z [err]  
2020-12-29T15:30:27.603Z [err] ERR! build error
2020-12-29T15:30:27.606Z [err] gyp
2020-12-29T15:30:27.606Z [err]  ERR!
2020-12-29T15:30:27.607Z [err]  stack
2020-12-29T15:30:27.607Z [err]  Error: not found: make
2020-12-29T15:30:27.607Z [err] gyp ERR!
2020-12-29T15:30:27.608Z [err] stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2020-12-29T15:30:27.608Z [err] gyp ERR!
2020-12-29T15:30:27.608Z [err]  stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2020-12-29T15:30:27.609Z [err] gyp ERR! stack
2020-12-29T15:30:27.609Z [err]      at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2020-12-29T15:30:27.609Z [err] gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2020-12-29T15:30:27.610Z [err] gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2020-12-29T15:30:27.610Z [err] gyp
2020-12-29T15:30:27.610Z [err]  ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2020-12-29T15:30:27.610Z [err] gyp ERR! stack
2020-12-29T15:30:27.611Z [err]      at FSReqCallback.oncomplete (fs.js:168:21)
2020-12-29T15:30:27.612Z [err] gyp
2020-12-29T15:30:27.612Z [err]  ERR! System Linux 5.1.0-aml-s905
2020-12-29T15:30:27.613Z [err] gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-12-29T15:30:27.613Z [err] gyp ERR! cwd /config/node-red/node_modules/@abandonware/noble
2020-12-29T15:30:27.614Z [err] gyp ERR! node -v v12.18.4
2020-12-29T15:30:27.614Z [err] gyp ERR! node-gyp -v v5.1.0
2020-12-29T15:30:27.614Z [err] gyp
2020-12-29T15:30:27.615Z [err] ERR! not ok
2020-12-29T15:30:29.474Z [err] npm
2020-12-29T15:30:29.475Z [err]  WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/@abandonware/bluetooth-hci-socket/node_modules/usb):
2020-12-29T15:30:29.475Z [err] npm
2020-12-29T15:30:29.475Z [err]  WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `prebuild-install --verbose || node-gyp rebuild`
2020-12-29T15:30:29.475Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
2020-12-29T15:30:29.490Z [err] npm
2020-12-29T15:30:29.491Z [err]  WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/[email protected] (node_modules/@abandonware/bluetooth-hci-socket):
2020-12-29T15:30:29.491Z [err] npm
2020-12-29T15:30:29.491Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/[email protected] install: `node-pre-gyp install --fallback-to-build`
2020-12-29T15:30:29.491Z [err] npm WARN optional
2020-12-29T15:30:29.492Z [err]  SKIPPING OPTIONAL DEPENDENCY: Exit status 1
2020-12-29T15:30:29.493Z [err]
2020-12-29T15:30:29.540Z [err] npm
2020-12-29T15:30:29.541Z [err]  ERR! code ELIFECYCLE
2020-12-29T15:30:29.541Z [err] npm ERR! errno 1
2020-12-29T15:30:29.556Z [err] npm
2020-12-29T15:30:29.556Z [err]  ERR! @abandonware/[email protected] install: `node-gyp rebuild`
2020-12-29T15:30:29.556Z [err] npm ERR! Exit status 1
2020-12-29T15:30:29.557Z [err] npm ERR!
2020-12-29T15:30:29.557Z [err] npm ERR!
2020-12-29T15:30:29.557Z [err]  Failed at the @abandonware/[email protected] install script.
2020-12-29T15:30:29.557Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-12-29T15:30:29.611Z [err]
2020-12-29T15:30:29.612Z [err] npm ERR! A complete log of this run can be found in:
2020-12-29T15:30:29.612Z [err] npm
2020-12-29T15:30:29.613Z [err] ERR!     /root/.npm/_logs/2020-12-29T15_30_29_594Z-debug.log
2020-12-29T15:30:29.647Z rc=1


nodered插件自己的日志
Node-REDnpm ERR! Failed at the @abandonware/[email protected] 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!     /root/.npm/_logs/2020-12-29T15_23_44_635Z-debug.log29 Dec 23:23:44 - [warn] ------------------------------------------29 Dec 23:23:44 - [error] Error: Install failed29 Dec 23:23:44 - [error] Error: Install failed29 Dec 23:23:44 - [error] Error: Install failed[29/Dec/2020:23:28:34 +0800] 200 192.168.1.138, 172.30.32.1(172.30.32.2) GET /red/images/spin.svg HTTP/1.1 (Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36)29 Dec 23:28:34 - [info] Installing module: node-red-contrib-xiaomi-ble, version: 1.3.129 Dec 23:30:29 - [warn] Installation of module node-red-contrib-xiaomi-ble failed:29 Dec 23:30:29 - [warn] ------------------------------------------29 Dec 23:30:29 - [warn] prebuild-install info begin Prebuild-install version 5.3.6prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/37f3e2-usb-v1.6.3-node-v72-linuxmusl-arm64.tar.gzprebuild-install http request GET https://github.com/tessel/node-u ... .gzprebuild-install http 404 https://github.com/tessel/node-u ... .gzprebuild-install WARN install No prebuilt binaries found (target=12.18.4 runtime=node arch=arm64 libc=musl platform=linux)gyp ERR! build error gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:168:21)gyp ERR! System Linux 5.1.0-aml-s905gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socket/node_modules/usbgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/abandonware/n ... -linux-arm64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/[email protected] and [email protected] (node-v72 ABI, musl) (falling back to source compile with node-gyp) gyp ERR! build error gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:168:21)gyp ERR! System Linux 5.1.0-aml-s905gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node" "--module_name=bluetooth_hci_socket" "--module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"gyp ERR! cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socketgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/config/node-red/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)node-pre-gyp ERR! System Linux 5.1.0-aml-s905node-pre-gyp ERR! command "/usr/bin/node" "/config/node-red/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socketnode-pre-gyp ERR! node -v v12.18.4node-pre-gyp ERR! node-pre-gyp -v v0.15.0node-pre-gyp ERR! not ok gyp ERR! build error gyp ERR! stack Error: not found: makegyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:168:21)gyp ERR! System Linux 5.1.0-aml-s905gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /config/node-red/node_modules/@abandonware/noblegyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/@abandonware/bluetooth-hci-socket/node_modules/usb):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `prebuild-install --verbose || node-gyp rebuild`npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/[email protected] (node_modules/@abandonware/bluetooth-hci-socket):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/[email protected] install: `node-pre-gyp install --fallback-to-build`npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! @abandonware/[email protected] install: `node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the @abandonware/[email protected] 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!     /root/.npm/_logs/2020-12-29T15_30_29_594Z-debug.log29 Dec 23:30:29 - [warn] ------------------------------------------29 Dec 23:30:29 - [error] Error: Install failed[29/Dec/2020:23:30:29 +0800] 400 192.168.1.138, 172.30.32.1(172.30.32.2) POST /nodes HTTP/1.1 (Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36)


回复

使用道具 举报

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
发表于 2020-12-30 08:54:11 | 显示全部楼层
ARM 有些 addons 依赖的 X86 C语言的东西会有问题
Nero
回复

使用道具 举报

7

主题

367

帖子

2089

积分

金牌会员

Rank: 6Rank: 6

积分
2089
金钱
1722
HASS币
0
 楼主| 发表于 2020-12-30 22:01:18 来自手机 | 显示全部楼层
其他坛友也是这个效果么?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-6 01:08 , Processed in 0.052438 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表