2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Node-RED アップデート

Last updated at Posted at 2018-02-03

Node-RED アップデート

Raspberry Pi に標準でインストールされているNode-RED のアップデートをします。

バージョン確認

$ node-red-pi --max-old-space-size=256
3 Feb 11:27:31 - [info] 

Welcome to Node-RED
===================

3 Feb 11:27:31 - [info] Node-RED version: v0.17.4
3 Feb 11:27:31 - [info] Node.js  version: v4.8.2
3 Feb 11:27:31 - [info] Linux 4.9.79-v7+ arm LE

~(略)~

v0.17.4 が導入されているようです。

アップデート

ユーザ権限で実行可能です。
進捗が表示されます。
20分~30分かかる場合もあります。

$ upgdate-nodejs-and-nodered 

~(略)~

This can take 20-30 minutes on a Pi 1 - please wait.

  Stop Node-RED                       
  Remove old version of Node-RED      
  Remove old version of node.js       
  Install node.js                     
  Clean npm cache                     
  Install Node-RED core               
  Install extra nodes                 
  Install serialport node             
  Npm rebuild existing nodes          
  Add menu shortcut                   
  Update systemd script               
  Update update script                

Any errors will be logged to   /var/log/nodered-install.log

~(略)~

バージョン再確認

$ node-red-pi --max-old-space-size=256
3 Feb 11:52:18 - [info] 

Welcome to Node-RED
===================

3 Feb 11:52:18 - [info] Node-RED version: v0.18.1
3 Feb 11:52:18 - [info] Node.js  version: v6.12.3
3 Feb 11:52:18 - [info] Linux 4.9.79-v7+ arm LE

~(略)~

v0.18.1 が導入されました。
Node.js は v4.8.2 から v6.12.3 になりました。

参考

Running on Raspberry Pi

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?