-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
This module is causing problems with Pinia installation #71
Comments
What does your nuxt config look like? Are you using @pinia/nuxt? My config works completely fine: import { defineNuxtConfig } from 'nuxt'
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
modules: [
'@pinia/nuxt',
'@intlify/nuxt3'
],
intlify: {
localeDir: 'locales',
vueI18n: {
locale: 'en'
},
}
}) |
Thanks, I was using This is my updated nuxt config: import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
css: ['@/assets/styles/main.scss'],
modules: ['@pinia/nuxt', '@vueuse/nuxt', '@intlify/nuxt3', 'nuxt-lodash'],
// module config for 'nuxt-lodash'
lodash: {
prefix: 'use',
prefixSkip: ['is'],
exclude: ['map'],
alias: [
['camelCase', 'stringToCamelCase'], // => useStringToCamelCase
['kebabCase', 'stringToKebabCase'] // => useStringToKebabCase
]
},
// module config for '@vueuse/nuxt'
vueuse: {
ssrHandlers: true
},
// module config for '@intlify/nuxt3'
intlify: {
localeDir: 'locales',
vueI18n: {
locale: 'en'
}
}
}) This is the error I get on the webpage:
Like I said, if I remove |
This looks like it is a windows only issue related to #63 |
Thanks for your reply @FlyingWraptor Is there any solution to this ? |
Unix |
When I install the module I get this error:
[nuxt] [request error] [🍍]: getActivePinia was called with no active...
Without the module, Nuxt & Pinia works perfect.
Tested on:
Console output:
The text was updated successfully, but these errors were encountered: