Uncaught Error: [$injector:modulerr] Failed to instantiate module

Hey good day, I had a problem with Task List module, which does not load completely. Checking out the possible errors page shows:

Uncaught Error: [$injector:modulerr] Failed to instantiate module cam.tasklist.custom due to:
Error: [$injector:modulerr] Failed to instantiate module custom-ng-module due to:
Error: [$injector:nomod] Module ‘custom-ng-module’ is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

I’ve already tried to change my config file, by placing the current module name, copy pasted it, how ever stills giving that error, besides that. It had been working just fine yesterday.

Any idea about what I can do?

We’re having the same problem. Did you find any solution? Do you think it could be a network problem? Timeout or something else?


With the help of my boss, we realized, Camunda, somehow, is retrieving data from angular before it is injected to the app, so we try to make CAMUNDA wait for ANGULAR to inject info.

Hey, jrodri. Basically, what was happening was that Angular was not taking dthe variables, what we did was gathering all variables before send them to camunda. So the script reaches all variables into an array an then it injects them to the form.

Hello @jrodri24,
I would suggest to look at docs. the injection could fail due to configuration.

Or, if you thing that some variables didn’t loaded properly, have a look at the form’s lifecycle.

Hope this helps

We found it is a network problem. The components are not being loaded in the default timeout. We’ve changed that default value in the camunda library and now it is working.

Thanks for your answers.

1 Like