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

Nuxt Plugin "provide" is not typed automatically since v3.13.0 #155

Closed
Bombastickj opened this issue Aug 25, 2024 · 2 comments · Fixed by #156
Closed

Nuxt Plugin "provide" is not typed automatically since v3.13.0 #155

Bombastickj opened this issue Aug 25, 2024 · 2 comments · Fixed by #156

Comments

@Bombastickj
Copy link

Issue Summary

Hello, I've been experiencing issues with the automatically typed plugins in Nuxt 3. Despite my efforts to resolve them (and lots of help from @danielroe ), the problem persists in my project.

Detailed Description

I've encountered a problem related to the automatically typed plugins. You can see a related discussion here: [GitHub Issue #28693.] Initially, I anticipated that everything would work smoothly in my project, but unfortunately, that has not been the case.

Troubleshooting Steps

After additional troubleshooting, I discovered that this specific module is causing the issue. I have prepared a minimal reproduction of the problem for further investigation. Please note the following:

  • Devtools need to be disabled: The devtools also seem to trigger the same issue, hence they should be turned off for accurate reproduction.

Hope this helps!

Reproduction
(https://stackblitz.com/edit/github-xwuwfy-vfhcxr?file=nuxt.config.ts)

Environment:

Nuxt project info: 19:51:31


  • Operating System: Windows_NT
  • Node Version: v20.16.0
  • Nuxt Version: 3.13.0
  • CLI Version: 3.13.0
  • Nitro Version: 2.9.7
  • Package Manager: npm@10.8.1
  • Builder: -
  • User Config: compatibilityDate, devtools, typescript, modules
  • Runtime Modules: @vite-pwa/nuxt@0.10.0
  • Build Modules: -

@userquin
Copy link
Member

@Bombastickj released v0.10.1

@Bombastickj
Copy link
Author

Awesome, my project is finally running with 0 errors! Thank you very much @userquin & @danielroe

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.

2 participants