If it is in package.json then npm should not have removed it. Are you sure it is there?
However I think that is not the recomended way of installing local nodes, but I am not the best one to advise on that.
We do supply a nodered.deb fro the Raspbian repo so it is pre-installed on a Full-Install version of Raspbian - but as our docs say the preferred method is via our install/upgrade script as that installs the most recent version of node.js and Node-RED... For example it will currently get you Node-RED 1.0.0, whereas the apt version is still 0.20.x as we haven't sent them the 1.0 version yet.
When you run the install bash script it should ask if you want the Pi specific nodes, which include the gpio nodes.
Installing local nodes should just require cd ~/.node-red && npm i {local-path-to-your/}nodename
and that should indeed add it to your the package.json as a dependency with its path. If the node_mdules have gone then an npm i in that directory should re-install all that is defined in that package.json. Node-RED then needs to be stopped and restarted.
Alright, I have some time again today and set it all up from scratch again. New SD card flashing, OS configuration, everything. This time with the Node-RED from the official source only. This did work. I could also install I2C and my own package (once) and it appeared in the UI. So that install script you provided doesn't work well for upgrading from the Debian package, despite claimed so.
But I can't update my own package anymore because when I just run that npm command a second time, unchanged, it throws strange errors of non-existing paths. This sucks. See why I install my own package manually instead? npm doesn't support packages that don't come from the public official (or a paid private) repository. How stupid.
Iām guessing you just want a moan rather than looking for some help?
Npm doesn't care where your package is as long as you build it correctly. Due to the nature of my work I have numerous nodes I install from various locations. Maybe if you shared the errors you are seeing we can offer some advice?
Hello Guys. The "stopped" thing just start to hapn with me. Today camera Pi also starts do constantly hold status connected.
pi@raspberrypi:~$ node-red restart
22 Nov 23:34:39 - [info]
Welcome to Node-RED
===================
22 Nov 23:34:39 - [info] Node-RED version: v2.1.3
22 Nov 23:34:39 - [info] Node.js version: v16.13.0
22 Nov 23:34:39 - [info] Linux 5.10.63-v7l+ arm LE
22 Nov 23:34:40 - [info] Loading palette nodes
22 Nov 23:34:43 - [info] Dashboard version 1.0.2 started at /ui
node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. node:internal/modules/cjs/loader:1101:14
22 Nov 23:34:45 - [info] RedBot version: 0.19.11 (node-red-contrib-chatbot)
22 Nov 23:34:51 - [warn] ------------------------------------------------------
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_base] 'ui_base' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_button] 'ui_button' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_dropdown] 'ui_dropdown' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_switch] 'ui_switch' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_slider] 'ui_slider' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_numeric] 'ui_numeric' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_text_input] 'ui_text_input' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_date_picker] 'ui_date_picker' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_colour_picker] 'ui_colour_picker' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_form] 'ui_form' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_text] 'ui_text' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_gauge] 'ui_gauge' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_chart] 'ui_chart' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_audio] 'ui_audio' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_toast] 'ui_toast' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_ui_control] 'ui_ui_control' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_template] 'ui_template' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_link] 'ui_link' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_tab] 'ui_tab' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_group] 'ui_group' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] [node-red-dashboard/ui_spacer] 'ui_spacer' already registered by module dashboard-evi
22 Nov 23:34:51 - [warn] ------------------------------------------------------
22 Nov 23:34:51 - [info] Settings file : /home/pi/.node-red/settings.js
22 Nov 23:34:51 - [info] Context store : 'default' [module=memory]
22 Nov 23:34:51 - [info] User directory : /home/pi/.node-red
22 Nov 23:34:51 - [warn] Projects disabled : editorTheme.projects.enabled=false
22 Nov 23:34:51 - [info] Flows file : /home/pi/.node-red/restart
22 Nov 23:34:51 - [info] Creating new flow file
22 Nov 23:34:51 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
22 Nov 23:34:51 - [error] Uncaught Exception:
22 Nov 23:34:51 - [error] Error: listen EADDRINUSE: address already in use 0.0.0.0:1880
at Server.setupListenHandle [as _listen2] (node:net:1334:16)
at listenInCluster (node:net:1382:12)
at doListen (node:net:1520:7)
at processTicksAndRejections (node:internal/process/task_queues:84:21)
Any help please?
Thanks
- List item
That command starts node red using a flows file called restart, which I guess is not what you want. It doesn't stop node red first, which is why you get the address already in use error. I think you meant node-red-restart
.
Personally I prefer to use node-red-stop;node-red-start
which shows the startup log.
Also you have something wrong with your dashboard install, have you installed two dashboards or something like that?
That it. Lot of problems
pi@raspberrypi:~$ node-red-stop
Stop Node-RED
Use node-red-start to start Node-RED again
pi@raspberrypi:~$ node-red-start
Start Node-RED
Once Node-RED has started, point a browser at http://192.168.16.115:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service.
23 Nov 06:10:38 - [info]
Welcome to Node-RED
===================
23 Nov 06:10:38 - [info] Node-RED version: v2.1.3
23 Nov 06:10:38 - [info] Node.js version: v16.13.0
23 Nov 06:10:38 - [info] Linux 5.10.63-v7l+ arm LE
23 Nov 06:10:41 - [info] Loading palette nodes
23 Nov 06:10:47 - [info] Dashboard version 1.0.2 started at /ui
Tue, 23 Nov 2021 09:10:51 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. at node:internal/modules/cjs/loader:1101:14
23 Nov 06:10:52 - [info] RedBot version: 0.19.11 (node-red-contrib-chatbot)
23 Nov 06:11:04 - [warn] ------------------------------------------------------
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_base] 'ui_base' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_button] 'ui_button' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_dropdown] 'ui_dropdown' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_switch] 'ui_switch' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_slider] 'ui_slider' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_numeric] 'ui_numeric' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_text_input] 'ui_text_input' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_date_picker] 'ui_date_picker' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_colour_picker] 'ui_colour_picker' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_form] 'ui_form' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_text] 'ui_text' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_gauge] 'ui_gauge' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_chart] 'ui_chart' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_audio] 'ui_audio' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_toast] 'ui_toast' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_ui_control] 'ui_ui_control' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_template] 'ui_template' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_link] 'ui_link' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_tab] 'ui_tab' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_group] 'ui_group' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] [node-red-dashboard/ui_spacer] 'ui_spacer' already registered by module dashboard-evi
23 Nov 06:11:05 - [warn] ------------------------------------------------------
23 Nov 06:11:05 - [info] Settings file : /home/pi/.node-red/settings.js
23 Nov 06:11:05 - [info] Context store : 'default' [module=memory]
23 Nov 06:11:05 - [info] User directory : /home/pi/.node-red
23 Nov 06:11:05 - [warn] Projects disabled : editorTheme.projects.enabled=false
23 Nov 06:11:05 - [info] Flows file : /home/pi/.node-red/flows.json
23 Nov 06:11:05 - [info] Server now running at http://127.0.0.1:1880/
23 Nov 06:11:05 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
23 Nov 06:11:05 - [info] Starting flows
23 Nov 06:11:08 - [info] Started flows
2021-11-23 06:11:11.274710: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:11:11.385926: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:11:11.514068: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:11:11.588243: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:11:11.594380: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
CameraPi (log): Tempfile - /home/pi/pic_24dd2eeb-7aab-4cf4-b696-7fdc3331e387.jpg
23 Nov 06:11:22 - [error] [function:aprender] TypeError: Cannot read properties of undefined (reading 'class')
23 Nov 06:11:22 - [error] [function:306592eab9456b69] TypeError: Cannot read properties of undefined (reading 'class')
CameraPi (log): /home/pi/pic_24dd2eeb-7aab-4cf4-b696-7fdc3331e387.jpg remove success!
CameraPi (log): Tempfile - /home/pi/pic_31f361d3-543c-4fb7-9efd-6f414787eaac.jpg
23 Nov 06:11:30 - [error] [function:aprender] TypeError: Cannot read properties of undefined (reading 'class')
23 Nov 06:11:30 - [error] [function:306592eab9456b69] TypeError: Cannot read properties of undefined (reading 'class')
CameraPi (log): /home/pi/pic_31f361d3-543c-4fb7-9efd-6f414787eaac.jpg remove success!
CameraPi (log): Tempfile - /home/pi/pic_2aa3e20e-cd90-4fe2-865c-a54706b863aa.jpg
CameraPi (log): /home/pi/pic_2aa3e20e-cd90-4fe2-865c-a54706b863aa.jpg remove success!
CameraPi (log): Tempfile - /home/pi/pic_bc578c2c-3ef5-4b72-856c-e65b0471a755.jpg
23 Nov 06:11:45 - [red] Uncaught Exception:
23 Nov 06:11:45 - [error] TypeError: Cannot read properties of undefined (reading 'class')
at reco (/home/pi/.node-red/node_modules/node-red-contrib-tfjs-coco-ssd/tfjs.js:73:40)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Service RestartSec=20s expired, scheduling restart.
nodered.service: Scheduled restart job, restart counter is at 1.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
23 Nov 06:12:09 - [info]
Welcome to Node-RED
===================
23 Nov 06:12:09 - [info] Node-RED version: v2.1.3
23 Nov 06:12:09 - [info] Node.js version: v16.13.0
23 Nov 06:12:09 - [info] Linux 5.10.63-v7l+ arm LE
23 Nov 06:12:11 - [info] Loading palette nodes
23 Nov 06:12:18 - [info] Dashboard version 1.0.2 started at /ui
Tue, 23 Nov 2021 09:12:21 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. at node:internal/modules/cjs/loader:1101:14
23 Nov 06:12:21 - [info] RedBot version: 0.19.11 (node-red-contrib-chatbot)
23 Nov 06:12:34 - [warn] ------------------------------------------------------
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_base] 'ui_base' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_button] 'ui_button' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_dropdown] 'ui_dropdown' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_switch] 'ui_switch' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_slider] 'ui_slider' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_numeric] 'ui_numeric' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_text_input] 'ui_text_input' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_date_picker] 'ui_date_picker' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_colour_picker] 'ui_colour_picker' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_form] 'ui_form' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_text] 'ui_text' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_gauge] 'ui_gauge' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_chart] 'ui_chart' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_audio] 'ui_audio' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_toast] 'ui_toast' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_ui_control] 'ui_ui_control' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_template] 'ui_template' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_link] 'ui_link' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_tab] 'ui_tab' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_group] 'ui_group' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] [node-red-dashboard/ui_spacer] 'ui_spacer' already registered by module dashboard-evi
23 Nov 06:12:34 - [warn] ------------------------------------------------------
23 Nov 06:12:34 - [info] Settings file : /home/pi/.node-red/settings.js
23 Nov 06:12:34 - [info] Context store : 'default' [module=memory]
23 Nov 06:12:34 - [info] User directory : /home/pi/.node-red
23 Nov 06:12:34 - [warn] Projects disabled : editorTheme.projects.enabled=false
23 Nov 06:12:34 - [info] Flows file : /home/pi/.node-red/flows.json
23 Nov 06:12:35 - [info] Server now running at http://127.0.0.1:1880/
23 Nov 06:12:35 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
23 Nov 06:12:35 - [info] Starting flows
23 Nov 06:12:38 - [info] Started flows
2021-11-23 06:12:41.861655: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:12:41.983599: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:12:42.156724: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:12:42.245502: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:12:42.252210: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
CameraPi (log): Tempfile - /home/pi/pic_caff576c-2de3-4f77-b14c-f4e136420d56.jpg
23 Nov 06:12:51 - [red] Uncaught Exception:
23 Nov 06:12:51 - [error] TypeError: Cannot read properties of undefined (reading 'class')
at reco (/home/pi/.node-red/node_modules/node-red-contrib-tfjs-coco-ssd/tfjs.js:73:40)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Service RestartSec=20s expired, scheduling restart.
nodered.service: Scheduled restart job, restart counter is at 2.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
23 Nov 06:13:15 - [info]
Welcome to Node-RED
===================
23 Nov 06:13:15 - [info] Node-RED version: v2.1.3
23 Nov 06:13:15 - [info] Node.js version: v16.13.0
23 Nov 06:13:15 - [info] Linux 5.10.63-v7l+ arm LE
23 Nov 06:13:18 - [info] Loading palette nodes
23 Nov 06:13:24 - [info] Dashboard version 1.0.2 started at /ui
Tue, 23 Nov 2021 09:13:27 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. at node:internal/modules/cjs/loader:1101:14
23 Nov 06:13:28 - [info] RedBot version: 0.19.11 (node-red-contrib-chatbot)
23 Nov 06:13:40 - [warn] ------------------------------------------------------
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_base] 'ui_base' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_button] 'ui_button' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_dropdown] 'ui_dropdown' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_switch] 'ui_switch' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_slider] 'ui_slider' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_numeric] 'ui_numeric' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_text_input] 'ui_text_input' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_date_picker] 'ui_date_picker' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_colour_picker] 'ui_colour_picker' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_form] 'ui_form' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_text] 'ui_text' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_gauge] 'ui_gauge' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_chart] 'ui_chart' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_audio] 'ui_audio' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_toast] 'ui_toast' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_ui_control] 'ui_ui_control' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_template] 'ui_template' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_link] 'ui_link' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_tab] 'ui_tab' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_group] 'ui_group' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] [node-red-dashboard/ui_spacer] 'ui_spacer' already registered by module dashboard-evi
23 Nov 06:13:40 - [warn] ------------------------------------------------------
23 Nov 06:13:40 - [info] Settings file : /home/pi/.node-red/settings.js
23 Nov 06:13:40 - [info] Context store : 'default' [module=memory]
23 Nov 06:13:40 - [info] User directory : /home/pi/.node-red
23 Nov 06:13:40 - [warn] Projects disabled : editorTheme.projects.enabled=false
23 Nov 06:13:40 - [info] Flows file : /home/pi/.node-red/flows.json
23 Nov 06:13:41 - [info] Server now running at http://127.0.0.1:1880/
23 Nov 06:13:41 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
23 Nov 06:13:41 - [info] Starting flows
23 Nov 06:13:44 - [info] Started flows
2021-11-23 06:13:47.245613: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:13:47.366246: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:13:47.498386: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:13:47.567308: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
2021-11-23 06:13:47.573363: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1080000 exceeds 10% of free system memory.
CameraPi (log): Tempfile - /home/pi/pic_9340857f-e6de-4ff8-9b3a-69335b1ec446.jpg
23 Nov 06:13:57 - [red] Uncaught Exception:
23 Nov 06:13:57 - [error] TypeError: Cannot read properties of undefined (reading 'class')
at reco (/home/pi/.node-red/node_modules/node-red-contrib-tfjs-coco-ssd/tfjs.js:73:40)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.servic
Work through the problems one at a time. Start by uninstalling the evi dashboard, whatever that is.
The crash is in node-red-contrib-tfjs-coco-ssd. I notice that this was updated a few ours ago, so check you have latest version.
Hi Colin, sorry for the delay and i'm writing here just to finish the issue. I've updated the node-red-contrib-tfjs-coco-ssd and it worked. The error about gpio "stopped" was not necessarily solved for me because now I'm node-red-node-pi-gpiod works better with servos and also work ok with gpiod Input node. Thanks for your help
That node works better with servos because it uses pigpiod as it's backend and that uses hardware PCM so no jitter:)