You have no choice to update to secure versions of React/Next. I am sorry that this happens, it also happened to me and it was just resolved. So, updating through the npx command and then fixing the errors that appear thanks to the Prototyper is the way. Remember to look at the error logs.