-
Notifications
You must be signed in to change notification settings - Fork 162
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 won't start Cannot use 'in' operator to search for 'package' in pinia #165
Comments
Can you share a minimal reproduction? Thanks. |
@therealokoro Hi there! I took a look at your latest repository on your Github profile, and I saw that you have the following in your config: export default defineNuxtConfig({
// ...
imports: {
dirs: ["stores"],
presets: ["pinia"], // <-- This is causing problem.
},
// ...
}) I checked the Nuxt configuration API and seems there is not such property for imports: https://nuxt.com/docs/api/configuration/nuxt-config#imports If this is not required or used by anything, then removing it would solve the issue. |
@robertlillipuu. That's weird. It isn't in the docs. Take a look at the screenshot above. Note that the nuxt version as at the time of taking the screenshot here is v3.3.3. You can see that the @danielroe, @antfu could you please look into this. Thank you |
I did notice that it's the cause of the problem as mentioned by @robertlillipuu. Removing it fixes the issue. |
So this error comes up only when i try to use nuxt devtools
The text was updated successfully, but these errors were encountered: