3
1

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起動時におけるFlows files読み込みエラー

Last updated at Posted at 2016-04-07

エラーの概要

Node-redでカスタムノードを作っていると、下記のようなエラーで起動しないことがある。
要は、custom-nodeが起動時に読み込むFlows fileの中にあるけど、見つけられないっtことらしい。

7 Apr 13:08:25 - [info] Node-RED version: v0.13.4-git
7 Apr 13:08:25 - [info] Node.js  version: v5.7.1
7 Apr 13:08:25 - [info] Darwin 15.4.0 x64 LE
7 Apr 13:08:25 - [info] Loading palette nodes
7 Apr 13:08:28 - [info] Settings file  : /Users/****/.node-red/settings.js
7 Apr 13:08:28 - [info] User directory : /Users/****/.node-red
7 Apr 13:08:28 - [info] Flows file : /Users/****/.node-red/****.local.json
7 Apr 13:08:28 - [info] Creating new flow file
7 Apr 13:08:28 - [info] Starting flows
7 Apr 13:08:28 - [info] Started flows
7 Apr 13:08:28 - [info] Server now running at http://127.0.0.1:1880/
7 Apr 13:09:01 - [info] Stopping flows
7 Apr 13:09:01 - [info] Stopped flows
7 Apr 13:09:01 - [info] Waiting for missing types to be registered:
7 Apr 13:09:01 - [info]  - custom-node

対策

起動時に読み込んでいるFlows fileを一旦削除すればよい。

$rm /Users/****/.node-red/****.local.json
3
1
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
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?