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

meiliSearchService' is of type 'unknown'. #8

Open
kb-0912 opened this issue Jan 10, 2025 · 1 comment
Open

meiliSearchService' is of type 'unknown'. #8

kb-0912 opened this issue Jan 10, 2025 · 1 comment

Comments

@kb-0912
Copy link

kb-0912 commented Jan 10, 2025

I'm trying to add subscriber to medusa 2.2.0 but it got this error
meiliSearchService' is of type 'unknown'.

@rokmohar
Copy link
Owner

rokmohar commented Jan 11, 2025

You need to run dev script to generate types from plugin. Make sure to use v0.2.1.

If you get this error during build and it still works you can either diregard it for know or import MeiliSearchService interface and have

const meiliSearchService: MeiliSearchService

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