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

DirectivePlugin "No plugin named directives was registered" #1137

Open
tylerjbainbridge opened this issue Jan 23, 2024 · 1 comment
Open

Comments

@tylerjbainbridge
Copy link

Including the DirectivePluginin the plugins array results in this error.

import DirectivePlugin from '@pothos/plugin-directives';
...
plugins: [PrismaPlugin, ScopeAuthPlugin, RelayPlugin, DirectivePlugin],
@hayes
Copy link
Owner

hayes commented Jan 23, 2024

I would start by checking to see if if @pothos/plugin-directives has a separate copy of @pothos/core nested inside it's node_modules directory. This could happen if you have multiple copies of @pothos/core

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

2 participants