Comments (3)
Ah, I see. I got it working now, thanks! 😄
https://codesandbox.io/p/devbox/nextjs-metadata-reexport-server-client-entrypoints-wvpndt?file=%2Fnext-app%2Fapp%2Fpage.tsx%3A3%2C17
from next.js.
Hi, it is because you are barrel exporting, which makes your index.ts
treated as a client component (caused by packages/error
), thus packages/page
is also a client component.
Try barrel export with splitted client and server components.
from next.js.
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
from next.js.
Related Issues (20)
- Error when running cookies() from next/headers - Error: (0 , _requestasyncstorageexternal.getExpectedRequestStore) is not a function
- Turbopack does not resolve serverExternalPackages HOT 1
- SSL issue and phishing issue made twitter block our website HOT 1
- HMR doesn't work on parallel routes while using turbopack. (Need Backport Fix Immediately) HOT 1
- Revalidate ignored for index route of a catch all route
- Inconsistent parsing of data URLs in CSS in Next 14
- intercepting routes not rendering under nested route HOT 3
- Can't use Knex in instrumentation hook
- Tab title is reset for a moment when navigating to a dynamic page HOT 1
- Dev mode fail s with(WasmHash._updateWithBuffer ) HOT 1
- Parallel Routes cause redundant RSC fetches on navigation HOT 5
- When using `<Script>` with `crossorigin` specified, `crossorigin` is missing from `<link>` that preloads the script
- Layout doesn't cache and gets 1 server re-render for each broken image link
- Fill property for Next Image doesn't seem to work. HOT 4
- 404 when redirecting in server action with subdomain rewrite rule
- Build Error when trying to compile with 'use client' files.
- NextResponse.redirect is not working in middleware HOT 1
- Layout rerenders on same segment route change HOT 4
- Docs: Replace "twitter.com" to "x.com"
- Add option to enable Turbopack with `create-next-app` HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next.js.