jeancarl / node-red-contrib-tjbot

Node-RED nodes that can be used with the TJBot running on a Raspberry Pi.
6 stars 20 forks source link

Tjbot node missing configuration page #3

Closed bttong closed 6 years ago

bttong commented 6 years ago

Hello there, I've followed the instruction in https://medium.com/@jeancarlbisson/setting-up-your-tjbot-to-use-node-red-df94ff94a114 to install tjbot nodes to my raspberry pi. I can see the nodes listed in node-red console. However, if I drop one of the tjbot node on the flow window and double lick on it, the icon to configure the profile is missing.
I also noticed that when I start node-red, the following error was shown: 3 Jan 11:43:57 - [info] Node-RED version: v0.17.4 3 Jan 11:43:57 - [info] Node.js version: v4.8.2 3 Jan 11:43:57 - [info] Linux 4.9.59-v7+ arm LE 3 Jan 11:43:58 - [info] Loading palette nodes 3 Jan 11:44:03 - [warn] ------------------------------------------------------ 3 Jan 11:44:03 - [warn] [config] SyntaxError: Unexpected token = 3 Jan 11:44:03 - [warn] ------------------------------------------------------ 3 Jan 11:44:03 - [info] Settings file : /root/.node-red/settings.js 3 Jan 11:44:03 - [info] User directory : /home/pi/.node-red/ 3 Jan 11:44:03 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json 3 Jan 11:44:03 - [info] Creating new flow file 3 Jan 11:44:03 - [debug] loaded flow revision: 513fd923d68021b8ee98fcb250470340 3 Jan 11:44:03 - [debug] red/runtime/nodes/credentials.load : no user key present 3 Jan 11:44:03 - [debug] red/runtime/nodes/credentials.load : using default key 3 Jan 11:44:03 - [info] Starting flows 3 Jan 11:44:03 - [debug] red/nodes/flows.start : starting flow : global 3 Jan 11:44:03 - [info] Started flows 3 Jan 11:44:03 - [info] Server now running at http://127.0.0.1:1880/

Please advice and thanks. Britney

bttong commented 6 years ago

I resolved the issue by upgrading node-red to latest version and reinstall tjbot nodes. Thanks.