You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed @liveblocks/react and @liveblocks/client in my React application using Next.js and Yarn PnP, and now SSR fails for routes using the RoomProvider with the error message:
Error: Multiple copies of Liveblocks are being loaded in your project. This will cause issues! See https://liveblocks.io/docs/errors/dupes
Conflicts:
- @liveblocks/core 1.2.4 (cjs) (already loaded)
- @liveblocks/core 1.2.4 (esm) (trying to load this now)
I already checked out the linked page and confirmed that I only have v1.2.4 in my yarn.lock file.
When I downgraded to v1.2.3, the error went away.
To Reproduce
Create a Next.js app with a SSR route (using getServerSideProps), using Yarn PnP as a package manager
Mount a RoomProvider at that route
Expected behavior
The SSR works and I can load the route
Environment (please complete the following information):
next: 12.1.5
yarn: 3.3.31
@liveblocks/client: 1.2.4
@liveblocks/react: 1.2.4
Browser: N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
I installed
@liveblocks/react
and@liveblocks/client
in my React application using Next.js and Yarn PnP, and now SSR fails for routes using theRoomProvider
with the error message:I already checked out the linked page and confirmed that I only have v1.2.4 in my
yarn.lock
file.When I downgraded to v1.2.3, the error went away.
To Reproduce
getServerSideProps
), using Yarn PnP as a package managerRoomProvider
at that routeExpected behavior
The SSR works and I can load the route
Environment (please complete the following information):
next
:12.1.5
yarn
:3.3.31
@liveblocks/client
:1.2.4
@liveblocks/react
:1.2.4
The text was updated successfully, but these errors were encountered: