Error on NextJS build #2337
ismi-abbas
started this conversation in
General
Replies: 3 comments 1 reply
-
@ismi-abbas Where are you placing the font export? Which file? |
Beta Was this translation helpful? Give feedback.
0 replies
-
At the app/layout.tsx. I've initiated the ui with src folder, then I remove it, configured all the path to be correct, but still encounter problem.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah you can't export from the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using
on the root layout will throw type error during build
Removing export will make it success
Temporary fix
Refer NextFont gives a type error on Build mode
Beta Was this translation helpful? Give feedback.
All reactions