Meteor Error at javascript console


#1

I keep getting these errors in my javascript but I cant track where the error is, and which bit of my code is wrong as it is on every pages.

Error in event handler for runtime.onMessage: TypeError: Cannot read property '1' of undefined

handler @   extensions::uncaught_exception_handler:8
exports.handle  @   extensions::uncaught_exception_handler:100
EventImpl.dispatch_ @   extensions::event_bindings:376
EventImpl.dispatch  @   extensions::event_bindings:393
target.(anonymous function) @   extensions::SafeBuiltins:19
$Array.forEach.publicClass.(anonymous function) @   extensions::utils:94
messageListener @   extensions::messaging:188
target.(anonymous function) @   extensions::SafeBuiltins:19
EventImpl.dispatchToListener    @   extensions::event_bindings:387
target.(anonymous function) @   extensions::SafeBuiltins:19
$Array.forEach.publicClass.(anonymous function) @   extensions::utils:94
EventImpl.dispatch_ @   extensions::event_bindings:371
EventImpl.dispatch  @   extensions::event_bindings:393
target.(anonymous function) @   extensions::SafeBuiltins:19
$Array.forEach.publicClass.(anonymous function) @   extensions::utils:94
dispatchOnMessage   @   extensions::messaging:316

#2

start by commenting out the last few bits of code you wrote and keep commenting code out until it stops :smile: