AUR0002
Key was registered with a "none" resolver, are you injecting the right key?
Last updated
Was this helpful?
Key was registered with a "none" resolver, are you injecting the right key?
'xxxx' was registered with "none" resolver, are you injecting the right key?
Name of the key being resolved
This error occurs when a key was registered with the "none" resolver, which means it is intentionally not resolvable from the DI container. This usually happens if you are trying to inject or resolve a key that was not meant to be resolved, or if there is a mismatch between the key you registered and the key you are trying to inject.
You registered a key with the "none" resolver (e.g., for a marker or interface), but then tried to inject or resolve it.
There is a typo or mismatch between the key you registered and the key you are injecting.
You are using a plugin or library that registered a key with "none" resolver, but your code is trying to resolve it.
Double-check the key you are injecting or resolving matches the key you registered.
If you intended to resolve this key, register it with a proper resolver (e.g., @singleton, @transient, or a custom resolver).
If you do not intend to resolve this key, remove the injection or resolution attempt.
Check the stack trace to see where the resolution was attempted.
Search your codebase for all registrations and injections of the key in question.
If using plugins, check their documentation for expected registration patterns.
Last updated
Was this helpful?
Was this helpful?