AUR0014

key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?

Error message

key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?

Error explanation

A key was null/undefined in a container.get/.getAll call

Possible solutions

Make sure the key is not null/undefined. This sometimes can happen with bundler that leaves circular dependency handling to applications, e.x: Webpack.

Please also note that this error could be caused by a plugin and not your application. After ruling out that the error is not being caused by your code, try removing any registered plugins one at a time to see if the error resolves itself.

Last updated