i reinstalled node-red. Current version is 4.0.5. I transfered the flows. Everything is working fine - except the htttp request nodes. I've got such a error on every single node:
Ok, hopefully you did not copy node_modules and you ran npm install inside the destination .node-red folder? to get updates & run compilation steps for nodes with binaries?
Would probably be worth deleting the package-lock.json and running npm install inside .node-red to get any updates too.
I tried without copying this folder (and instead runing npm install) but it also dont work. In this case my knx-ultimate-config doesnt work and crashes. With copying only the http request nodes dont work.
{"payload":1731956852032,"topic":"","_msgid":"16258161e26933d2","error":{"message":"RequestError: Expected value which is `predicate returns truthy for any value`, received values of types `Function`.","source":{"id":"b589c63c7527ecfa","type":"http request","count":1},"stack":"RequestError: Expected value which is `predicate returns truthy for any value`, received values of types `Function`.\n at Request._destroy (file:///usr/local/lib/node_modules/node-red/node_modules/got/dist/source/core/index.js:482:21)\n at _destroy (node:internal/streams/destroy:109:10)\n at Request.destroy (node:internal/streams/destroy:71:5)\n at Request.flush (file:///usr/local/lib/node_modules/node-red/node_modules/got/dist/source/core/index.js:241:22)\n at lastHandler (file:///usr/local/lib/node_modules/node-red/node_modules/got/dist/source/create.js:37:26)\n at iterateHandlers (file:///usr/local/lib/node_modules/node-red/node_modules/got/dist/source/create.js:49:28)\n at got (file:///usr/local/lib/node_modules/node-red/node_modules/got/dist/source/create.js:69:16)\n at HTTPRequest._inputCallback (/usr/local/lib/node_modules/node-red/node_modules/@node-red/nodes/core/network/21-httprequest.js:602:13)\n at /usr/local/lib/node_modules/node-red/node_modules/@node-re..."}}
So only the timestamp will be sended as payload and a empty topic. After that first try i tried to clear the sending-data so the inject looks like this: