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

Missing import with feature Search #2536

Closed
Florent-Bouisset opened this issue Feb 3, 2024 · 0 comments · Fixed by #2560
Closed

Missing import with feature Search #2536

Florent-Bouisset opened this issue Feb 3, 2024 · 0 comments · Fixed by #2560

Comments

@Florent-Bouisset
Copy link

Environment

MacOS, Chrome

Reproduction

use new experimental feature searchContent()

Describe the bug

Uncaught (in promise) ReferenceError: createError is not defined
    at searchContent

The function createError is used but never imported in the source code:
https://github.com/nuxt/content/blob/main/src/runtime/composables/search.ts

#2404 was a similar issue and was closed after the merge of #2412
but this PR didn't add import for the function createError.

Additional context

No response

Logs

No response

RomainMazB added a commit to RomainMazB/content that referenced this issue Feb 14, 2024
@RomainMazB RomainMazB mentioned this issue Feb 14, 2024
5 tasks
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

Successfully merging a pull request may close this issue.

1 participant