[SOLVED] Error: Handler with name 'u' already exists

Hi! I have the similar issue.
Today after updating Chrome to latest version I have an Error in browser’s console
"Exception in callback of async function: Error: Handler with name ‘hookWithOptions’ already exists."
and app doesn’t work!

What meteor version you use?

those project is on 1.2.1

I have found some older topics on stackowerflow related to this error
they say that this error is caused by multiple onBeforeAction in Iron Router
I just tryed to comment all onBeforeAction in my code, but it doesn’t change situation

This affect to me as well in meteor 1.3

same? affects one (or some) users, but not all?
you also have same console output in Chrome?

found this

yes, found this too
tryed to delete all onBeforeAction in order to see if they are involved, but nop…
seems like it is something new

We have the same issue. Our app broke for Chrome users… How annoying.

The title should be something like Meteor app crashed after chrome update.

Meteor really needs more practical way to debug production errors. Sourcemaps?

Try this : meteor update iron:middleware-stack

And your problem will definitely resolve.

21 Likes

started getting this in canary, nits is right iron:middleware-stack@1.1.0 does the trick.

I started seeing users get this issue as well starting on 5/25. Turns out that was the same day that Chrome released version 51.0.2704. Once I upgraded to the latest Chrome version on my own machine, the issue came up for me.

iron:middleware-stack@1.1.0 fixed the issue.

4 Likes

iron:middleware-stack@1.1.0 fixed the issue for me too, thanx!

1 Like

thanks everyone!
20 chars

omg, thanks everyone! worked like a charm!

1 Like

Thank s a lot. It worked for me

1 Like

+1 here, it worked for me too!

1 Like

+1 here. Thank you! Worked!

1 Like

+1 here. It’s working!