(error resulting)
Starting as a systemd service.
nodered.service: Main process exited, code=killed, status=4/ILL
nodered.service: Failed with result 'signal'.
Steps to recreate issue...
- install Pi OS 11
- apt update
- apt full-upgrade
- install NR via the standard script --node16, since script reports reports bad Node install otherwise. There is no Node install on a clean build.
- used the following settings file (see attached)
- loaded the following modules via npm, stopping and restarting NR each time to test
- reboot as test, KABOOM,
List of modules installed listed in order installed...
(already in pace from script)
node-red
node-red-contrib-play-audio
node-red-node-pi-gpio
node-red-node-ping
node-red-node-random
node-red-node-serialport
node-red-node-smooth
(installed following stop and start of NR)
npm install @tuyapi/cli i2c-bus javascript-color-gradient n os debug@4.3.1
node-red-dashboard
node-red-node-mysql
node-red-node-random
node-red-node-ui-list
node-red-node-ui-table
node-red-contrib-ui-led
node-red-node-ping
node-red-node-pi-gpiod
node-red-node-snmp
node-red-node-email
This is consistent, have used 3 different SD cards, and clean image per SD card.
What other information is needed? Cannot seem to find any solution, even steps for same error in forum do not seem to be applicable. Same Pi 3B running same modules and NR 2.2.2 rock solid. Node version 14 via ---node14.
Settings file...
module.exports = {
flowFile: 'flows.json',
credentialSecret: 'BOZO',
flowFilePretty: true,
uiPort: process.env.PORT || 1880,
logging: {
console: {
level: 'info',
metrics: false,
audit: false
}
},
exportGlobalContextKeys: false,
contextStorage: {
default: {
module:'memory'
},
persistent: {
module:'localfilesystem'
},
},
externalModules: {
},
editorTheme: {
tours: false,
palette: {
},
projects: {
enabled: false,
workflow: {
mode: 'manual'
}
},
codeEditor: {
lib: 'ace',
options: {
theme: 'vs',
}
}
},
functionExternalModules: true,
functionGlobalContext: {
os:require('os'),
i2c:require('i2c-bus'),
gradient:require('javascript-color-gradient'),
},
debugMaxLength: 1000,
mqttReconnectTime: 15000,
serialReconnectTime: 15000,
}
Packge.json
{
"name": "node-red-project",
"description": "initially created for you by Node-RED 3.0.0",
"version": "0.0.1",
"private": true,
"dependencies": {
"node-red-contrib-play-audio": "^2.5.0",
"node-red-node-pi-gpio": "^2.0.5",
"node-red-node-ping": "^0.3.1",
"node-red-node-random": "^0.4.0",
"node-red-node-serialport": "^1.0.1",
"node-red-node-smooth": "^0.1.2"
}
}
npm list...
$ npm list
Illegal instruction
**npm list was not crashing before reboot!**
I am going reimage... Install NR, and do reboots after each module install to see if I can figure out when npm is getting trashed. REALLY weird! Since I have been using 3 different SD cards.