Fixes the failing module creation

So, it turns out that `createModule()` was the culprit because it returned and _didn't_ run the callback, which is why it exited immediately and with no feedback.