I removed all modules in the data folder and node red starts up again. But if I install this module: @flowfuse/node-red-dashboard
the container crashes again after restarting.
I solved the issue
By removing package.json and package-lock.json along with the modules folder it was possible to install all packages and it is running again.