-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Description
After upgrading my Raspberry Pi 4 today, my nodered app stopped operating. I get the error
TypeError: cb.apply is not a function
at ~/.node-red/node_modules/npm/node_modules/graceful-fs/polyfills.js:287:18
at FSReqCallback.oncomplete (fs.js:169:5)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
I then went back to 12.18.0 - which operates flawlessly, then to 12.18.2 with npm 6.14.5, this also works as expected.
- Version: 12.18.3
- Platform: linux 5.4.51-v7l+ Remove help references to --max-stack-size which was removed previously #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linux
- Hardware: Raspberry Pi 4 / 4 GB
npm list
/root
├─┬ @iekedemus/vulgar-fraction@1.0.0
│ └── greatest-common-divisor@1.0.0
├── graceful-fs@4.2.4
└── jsonata@1.8.3
Steps that caused the problem:
apt upgrade / apt update / npm update to current versions
Remarks:
I think this is a very recent issue but I do not know if I could reproduce it just by updating nodered. 25 packages were updated, including kernel and system firmware.
Regards
Marcel