error reporting for compileModule() is always dispatched to callback