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

InputMenu component fast-deep-equal dependency issue #2488

Closed
josephwourms opened this issue Oct 29, 2024 · 4 comments
Closed

InputMenu component fast-deep-equal dependency issue #2488

josephwourms opened this issue Oct 29, 2024 · 4 comments
Labels
bug Something isn't working v3 #1289

Comments

@josephwourms
Copy link

For what version of Nuxt UI are you asking this question?

v3-alpha

Description

When trying to use the InputMenu component I am running into this error:

client.mjs:42 SyntaxError: The requested module '/_nuxt/node_modules/fast-deep-equal/index.js?v=6d87a810' does not provide an export named 'default' (at InputMenu.vue:19:8)

This is after following the installation instructions in the documentation.

Any help would be appreciated!

@josephwourms josephwourms added the question Further information is requested label Oct 29, 2024
@madebyfabian
Copy link
Contributor

madebyfabian commented Oct 29, 2024

Hi there, I am experiencing the same when trying to upgrade from 3.0.0-alpha.6 to 3.0.0-alpha.7. With alpha.6 it works fine. Can you try to manually install the alpha.6 version and see if that solves the issue? That would make it clear that it's indeed alpha.7 causing this not only for me.

Could be due to #2416 maybe?

@josephwourms
Copy link
Author

Hi there, I am experiencing the same when trying to upgrade from 3.0.0-alpha.6 to 3.0.0-alpha.7. With alpha.6 it works fine. Can you try to manually install the alpha.6 version and see if that solves the issue? That would make it clear that it's indeed alpha.7 causing this not only for me.

Could be due to #2416 maybe?

Good call! Switching back to 3.0.0-alpha.6 resolved the error for me.

Copy link
Member

You can add this to your nuxt.config.ts as a temporary fix:

vite: {
    optimizeDeps: {
      include: ['fast-deep-equal']
    }
  }

@benjamincanac benjamincanac added bug Something isn't working v3 #1289 and removed question Further information is requested labels Oct 29, 2024 — with Volta.net
yassilah pushed a commit to yassilah/ui that referenced this issue Oct 29, 2024
yassilah pushed a commit to yassilah/ui that referenced this issue Oct 31, 2024
@septatrix
Copy link

You can add this to your nuxt.config.ts as a temporary fix:

vite: {
optimizeDeps: {
include: ['fast-deep-equal']
}
}

This did not help in my case but downgrading to alpha.6 did work...

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

No branches or pull requests

4 participants