Skip to content

Conversation

kasperpeulen
Copy link

Here is another reproduction, but this is about building in the browser mode example.

I get the following error when using next/link:

✗ Build failed in 310ms
error during build:
src/root.tsx (11:7): "default" is not exported by "../../../../node_modules/.pnpm/next@15.5.4_@playwright+test@1.55.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/client/app-dir/link.js", imported by "src/root.tsx".
file: /Users/kasperpeulen/code/github/vite-plugin-react/packages/plugin-rsc/examples/browser-mode/src/root.tsx:11:7

I have build on top of another reproduction, as I need the NextRouter component to provide the neccesary context for next/link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant