There no error in browser console and terminal either? Don't you have any guard on the route you try to enter? This seems to me as a issue with non-existing route that you're trying to reach.
Please show the code how you trigger the function on the button.
Here is very helpful video on VueSchool https://vueschool.io/lessons/router-and-the-composition-api?friend=vuerouter
For forcing error you can try to use this code with added catch.
const router = useRouter();
const navigate = (path) => {
try {
router.push({ path: path });
} catch (error) {
console.error('Navigation error:', error);
}
};