Basically. At that point. We have identified the source that should be able
to load the module, asked it to load it, but for whatever reason hasn't
made a valid define call (for example file has wrong module id - perhaps
any module ids that were loaded might be useful info).

Things normally fail earlier, no configured source or can't find file.
On 20/06/2013 12:57 PM, "Marli Oshlack" <notifications@github.com> wrote:

> In compiler/src/compile/compiler.js:
>
> >          if (!sources.can(id))
> >            error.die('Configuration error: no source found to load module: ' + id);
> >
> > -        load(sources, id);
> > +        load(sources, id, function () {
> > +          if (modules[id] === undefined)
> > +            error.die('Configuration error: module [' + id + '] was not loaded from expected source');
>
> Just to be clear, this error message could simply be: 'Configuration
> error: module [' + id + '] failed to load.'?
>
> There's no other information available here at this point than that right?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/boltjs/bolt/pull/1/files#r4788979>
> .
>