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)
- Intercepting Routes not working as expected 14.2.1
- CSS Styles from unrelated layouts are merged if they have one CSS file in common HOT 5
- Route handler does not receive searchParams set by middleware without runtime edge HOT 1
- NO WARNING FOR DEFAULT EXPORT in route.ts file HOT 1
- next start does not stop next-server on kill signal
- Testing frameworks (Vitest) cannot correctly resolve React to the internal Next version, causing tests to fail HOT 1
- Testing frameworks (Vitest) cannot correctly resolve React to the internally used version, causing tests to fail
- Sitemap generation with multi languages doesn't produce the XML! HOT 1
- Edge runtime causing terser panic due to top level await
- Redirecting to same page (with different parameters) does not reload the entire page HOT 4
- Importing default from `next/document` in ESM inside a third-party package doesn't work
- Docs: 'use client' documentation is unclear about SSR HOT 2
- Cosmiconfig in Dev Mode Can't Load Configs Since 14.2
- Navigating away from parallel route with router.push() doesn't trigger catch-all HOT 2
- Parallel routing with intercepting on as modal / page have unexpected behavior HOT 3
- `unstable_cache` loads `Object` instance instead of `Map` instance from cache. HOT 3
- Standalone export Sharp executable is not present with pnpm HOT 2
- generateMetaData function HOT 1
- NextJs 14.2.2 middleware "You're importing a component that needs next/headers.... etc" HOT 1
- Multi-platform dependency cannot be correctly used with Next.js
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.