nodered-daigakusei
@nodered-daigakusei

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

ノードの追加 エラー

解決したいこと

最近node-REDについて勉強を始めた大学生です。
ノードの追加をしたのですが、エラーが出てしまいその解決方法が分かりません。
解決方法を教えて下さい。

発生している問題・エラー

以下のような文章が表示されます。

追加処理が失敗しました: node-red-node-pi-mcp3008

インストールに失敗しました

詳細はログを確認してください。

ログを確認してみると、

2024-02-02T03:48:14.511Z 追加 : node-red-node-pi-mcp3008 0.5.2

2021-08-06T22:34:43.133Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-node-pi-mcp3008@0.5.2
2021-08-06T22:34:45.275Z [err] npm
2021-08-06T22:34:45.277Z [err]  
2021-08-06T22:34:45.277Z [err] WARN 
2021-08-06T22:34:45.277Z [err] npm npm does not support Node.js v10.24.0
2021-08-06T22:34:45.278Z [err] npm
2021-08-06T22:34:45.278Z [err]  WARN npm
2021-08-06T22:34:45.278Z [err]  You should probably upgrade to a newer version of node as we
2021-08-06T22:34:45.278Z [err] npm
2021-08-06T22:34:45.278Z [err]  WARN
2021-08-06T22:34:45.278Z [err]  npm
2021-08-06T22:34:45.278Z [err]  can't make any promises that npm will work with this version.
2021-08-06T22:34:45.278Z [err] npm
2021-08-06T22:34:45.278Z [err]  WARN 
2021-08-06T22:34:45.279Z [err] npm
2021-08-06T22:34:45.279Z [err]  Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
2021-08-06T22:34:45.279Z [err] npm
2021-08-06T22:34:45.279Z [err]  WARN 
2021-08-06T22:34:45.279Z [err] npm You can find the latest version at https://nodejs.org/
2021-08-06T22:34:46.825Z [err] npm
2021-08-06T22:34:46.825Z [err]  ERR! code CERT_NOT_YET_VALID
2021-08-06T22:34:46.826Z [err] npm ERR!
2021-08-06T22:34:46.826Z [err]  errno CERT_NOT_YET_VALID
2021-08-06T22:34:46.834Z [err] npm
2021-08-06T22:34:46.835Z [err]  ERR! request to https://registry.npmjs.org/node-red-node-pi-mcp3008 failed, reason: certificate is not yet valid
2021-08-06T22:34:46.850Z [err] 
2021-08-06T22:34:46.850Z [err] npm
2021-08-06T22:34:46.850Z [err]  ERR!
2021-08-06T22:34:46.850Z [err]  A complete log of this run can be found in:
2021-08-06T22:34:46.850Z [err] npm 
2021-08-06T22:34:46.850Z [err] ERR!     /home/pi/.npm/_logs/2021-08-06T22_34_46_840Z-debug.log
2021-08-06T22:34:46.860Z rc=1

使用しているバージョンは、
Node-RED バージョン: v1.3.4
Node.js バージョン: v10.24.0
Linux 5.10.52-v7l+ arm LE
です。

まだNode-REDを勉強し始めて間もなく、右も左も分からない状況ですが、よろしくお願いします。

0

1Answer

Comments

  1. ラズパイの時刻設定を設定しなおしたら治りました.
    アドバイスありがとうございます.

Your answer might help someone💌