requirejs-babel icon indicating copy to clipboard operation
requirejs-babel copied to clipboard

Loader plugin did not call the load callback in the build

Open OliverJAsh opened this issue 10 years ago • 7 comments

When I run two builds concurrently (i.e. using grunt-concurrent), I get this error:

{ [Error: Error: Loader plugin did not call the load callback in the build:
transpile:
  transpile!es6/bootstraps/crosswords_unnormalized2: Error: Load timeout for modules: transpile!es6/bootstraps/crosswords_unnormalized2
http://requirejs.org/docs/errors.html#timeout
Module loading did not complete for:
    at Function.build.checkForErrors (/Users/OliverJAsh/Development/frontend/node_modules/requirejs/bin/r.js:30026:19)
]
  originalError:
   [Error: Loader plugin did not call the load callback in the build:
   transpile:
     transpile!es6/bootstraps/crosswords_unnormalized2: Error: Load timeout for modules: transpile!es6/bootstraps/crosswords_unnormalized2
   http://requirejs.org/docs/errors.html#timeout
   Module loading did not complete for: ] }

Do you have any ideas why this might be?

OliverJAsh avatar Sep 26 '15 03:09 OliverJAsh

@OliverJAsh I have the same issue with jsx-requirejs-plugin sometimes (also using grunt-concurrent), so it must be an issue with requirejs.

webuniverseio avatar Sep 28 '15 04:09 webuniverseio

Posted an issue in r.js https://github.com/jrburke/r.js/issues/859

OliverJAsh avatar Sep 28 '15 19:09 OliverJAsh

I'm hitting this issue without using grunt-concurrent, and it's intermittent. Sometime my r.js build succeeds. other times it fails relatively quickly with:

{ [Error: Error: Loader plugin did not call the load callback in the build:
es6:
  es6!amkt/vendor-reporting/components/vendor-reporting_unnormalized2
  es6!amkt/vendor-reporting/components/vendor-reporting
Module loading did not complete for: amkt/vendor-form/edit-vendor-form, amkt/vendor-reporting/controller
    at Function.build.checkForErrors (/Users/kbarclay/src/amkt/node_modules/requirejs/bin/r.js:30026:19)
]
  originalError:
   [Error: Loader plugin did not call the load callback in the build:
   es6:
     es6!amkt/vendor-reporting/components/vendor-reporting_unnormalized2
     es6!amkt/vendor-reporting/components/vendor-reporting
   Module loading did not complete for: amkt/vendor-form/edit-vendor-form, amkt/vendor-reporting/controller] }

Edit: I notice it's a little different, but it may still be a related.

kayneb avatar Nov 05 '15 18:11 kayneb

I'm also seeing this. Any solutions?

pietvanzoen avatar Dec 12 '15 19:12 pietvanzoen

Same problem with me. It happens sometimes, not always. I'm using grunt-requirejs, and also grunt-concurrent.

wangjingfei avatar Jan 05 '16 10:01 wangjingfei

I found that we were actually parallelizing some of the build in sbt, so that's what resulted in this issue. Make sure to verify you aren't concurrently running parts of your build!

kayneb avatar Jan 18 '16 20:01 kayneb

+1

martin-liu avatar Jan 28 '16 07:01 martin-liu