This error occurs in the latest version 13.0.1. Tried to downgrade to 11.0.2 or 12.0.1 and solved the issue.
In package.json change: "koa-router": "11.0.2" and remember to remove the "^"
I have not check detailed on the document, maybe this changed to other syntax?