Start node red using node-red --safe Which will start the editor but not the flows, then you can fix it and deploy, which will start it running.
node-red --safe
im try but 'nodered' is not recognized as an internal or external command, operable program or batch file.
Look more carefully at what I suggested.
okey thank you very much @Colin