Originally logged as requirejs/requirejs#334: right now the error does not really help identify the source:
Error: Mismatched anonymous define() module: [object Object]
Look at printing out any dependency array, any function, and if an object literal, iterate over the properties to give an idea of what define() call was bad.