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

Getting Started error SyntaxError..UseFuseOptions..AppSearch #996

Closed
PhE opened this issue Oct 26, 2023 · 3 comments · Fixed by #997
Closed

Getting Started error SyntaxError..UseFuseOptions..AppSearch #996

PhE opened this issue Oct 26, 2023 · 3 comments · Fixed by #997

Comments

@PhE
Copy link

PhE commented Oct 26, 2023

Starting a new docus instance (following the docs Getting Started section) raises a console error on front page :

npx nuxi@latest init docs -t themes/docus
cd docs
npx bun install
npx bun run dev

Error in the console :

Uncaught SyntaxError: The requested module '/_nuxt/node_modules/@vueuse/integrations/useFuse.mjs?v=d3a2bf86' does not provide an export named 'UseFuseOptions' (at AppSearch.vue:1:25)
@AndreyYolkin
Copy link
Contributor

AndreyYolkin commented Oct 26, 2023

This is caused by 3.8.0 changes in type resolution. https://github.com/nuxt/nuxt/releases/tag/v3.8.0

As temp solution you can add this in root nuxt.config.ts:

  typescript: {
    tsConfig: {
      compilerOptions: {
        verbatimModuleSyntax: false
      }
    }
  }

@anabrnjasevic
Copy link

This solves it for me, I had same issue...Thanks!

@PhE
Copy link
Author

PhE commented Oct 26, 2023

Thanks @AndreyYolkin !

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.

3 participants