Skip to content
Discussion options

You must be logged in to vote

Well it has to be the fonts. When I export a font and import it into a use client module, directly or indirectly, I get:

Notice the error stack, I guess your version doesn't have that much detail, this was made with 15.4.5

If you had used Typescript, this wouldn't even build (before having metadata in layout), because layout and pages, are type checked for their exports - only a limited set of APIs can be exported from these files. You shouldn't really be sharing exports from layout/pages into other modules.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@icyJoseph
Comment options

@programmerbanna
Comment options

@programmerbanna
Comment options

@icyJoseph
Comment options

Answer selected by programmerbanna
@programmerbanna
Comment options

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