After I switched to pnpm, I started getting this error:
The inferred type of 'useTranslations' cannot be named without a reference to '.pnpm/@intlify+core-base@9.2.2/node_modules/@intlify/core-base'. This is likely not portable. A type annotation is necessary.ts(2742)
Can someone explain why? Is it because I switched to pnpm or is there a problem with vue-i18n library itself?
Reporting a bug?
I have this composable that stores local messages:
After I switched to pnpm, I started getting this error:
The inferred type of 'useTranslations' cannot be named without a reference to '.pnpm/@intlify+core-base@9.2.2/node_modules/@intlify/core-base'. This is likely not portable. A type annotation is necessary.ts(2742)
Can someone explain why? Is it because I switched to pnpm or is there a problem with vue-i18n library itself?
Expected behavior
I expect not to have this error
Reproduction
https://github.com/Sardor01/vue-i18n-reproduction
System Info
Screenshot
No response
Additional context
No response
Validations