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

 找回密码
 立即注册
查看: 4017|回复: 0

[求助] node-red里更新节点失败,大佬帮忙看一下是什么问题

[复制链接]

1

主题

118

帖子

769

积分

高级会员

Rank: 4

积分
769
金钱
651
HASS币
0
发表于 2020-5-26 10:47:01 | 显示全部楼层 |阅读模式

-----------------------------------------------------------
2020-05-26T02:40:47.570Z 安装 : node-red-contrib-modbus 5.13.1

2020-05-26T02:40:46.860Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production [email protected]
2020-05-26T02:41:49.753Z [out]
2020-05-26T02:41:49.753Z [out] > @serialport/[email protected] install /config/node-red/node_modules/@serialport/bindings
2020-05-26T02:41:49.753Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2020-05-26T02:41:49.753Z [out]
2020-05-26T02:41:54.654Z [err] prebuild-install
2020-05-26T02:41:54.655Z [err]  
2020-05-26T02:41:54.655Z [err] WARN install
2020-05-26T02:41:54.655Z [err]  No prebuilt binaries found (target=12.15.0 runtime=node arch=arm libc=musl platform=linux)
2020-05-26T02:41:56.169Z [err] gyp
2020-05-26T02:41:56.170Z [err]  
2020-05-26T02:41:56.170Z [err] ERR! build error
2020-05-26T02:41:56.172Z [err] gyp
2020-05-26T02:41:56.172Z [err]  ERR!
2020-05-26T02:41:56.172Z [err]  stack
2020-05-26T02:41:56.172Z [err]  Error: not found: make
2020-05-26T02:41:56.172Z [err] gyp
2020-05-26T02:41:56.172Z [err] ERR! stack
2020-05-26T02:41:56.172Z [err]      at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
2020-05-26T02:41:56.172Z [err] gyp
2020-05-26T02:41:56.173Z [err] ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
2020-05-26T02:41:56.173Z [err] gyp
2020-05-26T02:41:56.173Z [err]  ERR!
2020-05-26T02:41:56.173Z [err] stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
2020-05-26T02:41:56.173Z [err] gyp
2020-05-26T02:41:56.173Z [err]  ERR!
2020-05-26T02:41:56.173Z [err] stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
2020-05-26T02:41:56.173Z [err] gyp
2020-05-26T02:41:56.173Z [err] ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
2020-05-26T02:41:56.173Z [err] gyp ERR!
2020-05-26T02:41:56.173Z [err]  stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
2020-05-26T02:41:56.173Z [err] gyp
2020-05-26T02:41:56.174Z [err] ERR! stack
2020-05-26T02:41:56.174Z [err]      at FSReqCallback.oncomplete (fs.js:158:21)
2020-05-26T02:41:56.174Z [err] gyp
2020-05-26T02:41:56.174Z [err] ERR! System Linux 4.19.97-v7l+
2020-05-26T02:41:56.174Z [err] gyp
2020-05-26T02:41:56.175Z [err]  ERR! command
2020-05-26T02:41:56.175Z [err]  "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-05-26T02:41:56.175Z [err] gyp ERR!
2020-05-26T02:41:56.175Z [err] cwd /config/node-red/node_modules/@serialport/bindings
2020-05-26T02:41:56.175Z [err] gyp ERR!
2020-05-26T02:41:56.175Z [err]  node -v v12.15.0
2020-05-26T02:41:56.175Z [err] gyp
2020-05-26T02:41:56.175Z [err] ERR! node-gyp -v v5.0.5
2020-05-26T02:41:56.175Z [err] gyp
2020-05-26T02:41:56.175Z [err] ERR! not ok
2020-05-26T02:41:56.175Z [err]  
2020-05-26T02:42:05.766Z [err] npm
2020-05-26T02:42:05.767Z [err]  ERR! code ELIFECYCLE
2020-05-26T02:42:05.767Z [err] npm
2020-05-26T02:42:05.767Z [err] ERR! errno 1
2020-05-26T02:42:05.770Z [err] npm
2020-05-26T02:42:05.770Z [err] ERR! @serialport/[email protected] install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
2020-05-26T02:42:05.770Z [err] npm ERR!
2020-05-26T02:42:05.770Z [err]  Exit status 1
2020-05-26T02:42:05.770Z [err] npm ERR!
2020-05-26T02:42:05.770Z [err]  
2020-05-26T02:42:05.770Z [err] npm
2020-05-26T02:42:05.770Z [err] ERR! Failed at the @serialport/[email protected] install script.
2020-05-26T02:42:05.770Z [err] npm ERR!
2020-05-26T02:42:05.770Z [err]  This is probably not a problem with npm. There is likely additional logging output above.
2020-05-26T02:42:05.858Z [err]
2020-05-26T02:42:05.858Z [err] npm ERR! A complete log of this run can be found in:
2020-05-26T02:42:05.858Z [err] npm ERR!
2020-05-26T02:42:05.859Z [err]      /root/.npm/_logs/2020-05-26T02_42_05_800Z-debug.log
2020-05-26T02:42:05.879Z rc=1

iShot2020-05-2610.42.49.png
iShot2020-05-2610.42.34.png
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 00:58 , Processed in 0.131389 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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