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

Module @nuxtjs/algolia is disabled due to incompatibility issues #90

Closed
marcusarnfast opened this issue Sep 4, 2022 · 4 comments · Fixed by #92 or coupergateway/couper#600
Closed
Labels
bug Something isn't working

Comments

@marcusarnfast
Copy link

Version

@nuxtjs/algolia: 1.1.1
nuxt: 3.0.0-r.c.9

Reproduction Link

https://github.com/marcusarnfast/Incompatibility-issues-with-Algolia

Steps to reproduce

Yarn add

What is Expected?

Algolia module to work

What is actually happening?

Module @nuxtjs/algolia is disabled due to incompatibility issues:

  • [nuxt] Nuxt version ^3.0.0 || ^2.16.0 is required but currently using 3.0.0-rc.9
@marcusarnfast marcusarnfast added the bug Something isn't working label Sep 4, 2022
@Baroshem
Copy link
Collaborator

Baroshem commented Sep 5, 2022

Hey @marcusarnfast

Thanks for reporting this issue. I am currently on holidays without access to the computer. I will work on this issue after I will be back (end of semptember).

In the meantime, you can edit the version in the node_modules/@nuxtjs/algolia/module.mjs (I think this is the right path) and change the compatibility. It is not perfect but should work.

@marcusarnfast
Copy link
Author

I tried to do the qucikfix in the node_module, but "addImportsDir" is depreciated and when I change to "importsDir" I get no result from the Algolia module.. :-)

@marcusarnfast
Copy link
Author

Sorry this worked.. I just switched up the API_KEY and APP_ID

The quick fix for this issue is to add the "-rc" in node_modules@nuxtjs\algolia\dist\module.mjs.

And then change autoImports:dirs to imports:dirs.

:-)

@Baroshem
Copy link
Collaborator

Baroshem commented Sep 5, 2022

I am glad that it worked.

I will update the module accordingly to the changes in the recent version of nuxt 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants