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/[email protected]_@[email protected][email protected][email protected][email protected]/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