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

 找回密码
 立即注册
查看: 1188|回复: 1

[技术探讨] docker装的NR有些节点不能安装

[复制链接]

8

主题

220

帖子

1666

积分

金牌会员

Rank: 6Rank: 6

积分
1666
金钱
1446
HASS币
0
发表于 2023-6-26 10:17:00 | 显示全部楼层 |阅读模式
两个docker下装的NR有些节点都装不了,比如这个节点:node-red-contrib-home-assistant,帮看看是啥原因?谢谢!

2023-06-26T02:03:03.546Z 安装 : node-red-contrib-home-assistant 0.3.2

2023-06-26T02:03:03.674Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-home-assistant@0.3.2
2023-06-26T02:03:04.174Z [err] npm
2023-06-26T02:03:04.174Z [err]  WARN config
2023-06-26T02:03:04.174Z [err]  production Use `--omit=dev` instead.
2023-06-26T02:05:48.877Z [err] npm
2023-06-26T02:05:48.877Z [err]  ERR! code 128
2023-06-26T02:05:48.879Z [err] npm ERR!
2023-06-26T02:05:48.880Z [err]  An unknown git error occurred
2023-06-26T02:05:48.880Z [err] npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/node-red/node-red.git
2023-06-26T02:05:48.880Z [err] npm ERR! git@github.com: Permission denied (publickey).
2023-06-26T02:05:48.880Z [err] npm ERR! fatal: Could not read from remote repository.
2023-06-26T02:05:48.880Z [err] npm ERR!
2023-06-26T02:05:48.880Z [err] npm
2023-06-26T02:05:48.880Z [err]  ERR! Please make sure you have the correct access rights
2023-06-26T02:05:48.880Z [err] npm ERR! and the repository exists.
2023-06-26T02:05:48.883Z [err]
2023-06-26T02:05:48.883Z [err] npm ERR!
2023-06-26T02:05:48.883Z [err]  A complete log of this run can be found in:
2023-06-26T02:05:48.883Z [err] npm ERR!     /data/.npm/_logs/2023-06-26T02_03_04_140Z-debug-0.log
2023-06-26T02:05:48.907Z rc=128



                               
登录/注册后可看大图




海鲜市场:jasona3
回复

使用道具 举报

14

主题

430

帖子

2699

积分

金牌会员

Rank: 6Rank: 6

积分
2699
金钱
2269
HASS币
0
发表于 2023-6-26 15:48:31 | 显示全部楼层
node-red-contrib-home-assistant-websocket
大家都是用的这个
若然,一切若然~
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-27 10:29 , Processed in 0.251184 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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