My meteor site which I haven’t updated in months recently stopped working. Clicking links to documents display the message
Oops, looks like there's no route on the client or the server for url:
"https://www.vertexshaderart.com/art/xvg4vyvfWjCvKZQfW."
I spend an hour trying different things. Even my local dev version of the site with 5 month old data and also no changes is not working. I’m trying to think what else it could be. I think maybe it’s one of my extensions so I try Chrome Canary. Still Broke. Then I think maybe it’s Chrome itself. So I try Firefox. BINGO! Site still works fine in Firefox and in Safari.
This is actually the latest update to chrome breaking Iron Router. I’ve seen a couple posts now about this issue. Unfortunately I’m not sure of what the fix would be and I don’t think you’ll see a fix coming from Iron Router any time soon.
There’s a simple fix which is to have a defined name for every route. The issue is actually that chrome added the name parameter to functions, which in the past for anonymous functions wouldn’t exist. This is chrome attempting to help with debugging, but actually breaking things. Kind of annoying…