I am not able to use terminal for applying custom codes in it. I get this error.
@aduthapa can you check the app logs to see if the app keeps restarting? If so try to put it first into recovery mode.
In case this is not related to the app itself, do you see any errors in your browser console?