Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IocLookupException: E_IOC_LOOKUP_FAILED: Cannot resolve "Adonis/Acl/Is" namespace from the IoC Container #47

Open
AngelinSneha opened this issue Jun 15, 2021 · 0 comments

Comments

@AngelinSneha
Copy link

AngelinSneha commented Jun 15, 2021

I am trying to use adonis-acl with AdonisJs and i landed with this exception IocLookupException: E_IOC_LOOKUP_FAILED: Cannot resolve "Adonis/Acl/Is" namespace from the IoC Container while setting up adonis-acl`.


start/kernel.ts code

import Server from '@ioc:Adonis/Core/Server' Server.middleware.registerNamed({ auth: 'App/Middleware/Auth', admin: 'App/Middleware/AuthRole', is: 'Adonis/Acl/Is', can: 'Adonis/Acl/Can', })


I do not know why this error is popping up. Could you please help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant