Skip to content

Pinia nuxt version 0.6.0+ causes error when used with pnpm monorepo #2820

@kalvenschraut

Description

@kalvenschraut

Reproduction

https://stackblitz.com/~/github.com/kalvenschraut/pinia-nuxt-pnpm-monorepo-issue

Steps to reproduce the bug

To see issue do

pnpm install
pnpm --filter website1 run dev

can then downgrade @pinia/nuxt to 0.5.5 and run same commands to see it working. Can also upgrade to 0.6.1 to verify still not working

pnpm update @pinia/[email protected] -r
pnpm --filter website1 run dev

Expected behavior

Page to load and show the users name from the user store

Actual behavior

image

Additional information

In prod builds on my personal site where I first initial saw this was seeing vueDemi.effectScope is not a function error. Downgrading back to 0.5.5 for now until direction can be given

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas workaroundThe issue contains a temporary solution to get around the problem⛰ pkg:nuxtRelated to @pinia/nuxt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions