Next.js Discord

Discord Forum

NextJs Google Font Not Loading

Unanswered
Moe Youssef posted this in #help-forum
Open in Discord
Yesterday, while using the code, everything worked perfectly. However, today, upon running the code again, an unexpected error occurred, even though I hadn't made any changes.

30 Replies

Tan
have u simply tried restarting the server
@Moe Youssef yes
Tan
u made no changes at all
anywwhere
like not just here
but nowhere at all?
try deleting .next
@Tan try deleting `.next`
I tried
@Tan u made no changes at all
yes
Tan
restart ur computer?
what node version r u on
@Tan what node version r u on
v18.13.0
Tan
hmmmm what version of nextjs
13.4.8
@Tan restart ur computer?
I'll try brb
Tan
try upgrading to the latest version
Tan
r u using yarn?
yes
I can use npm or yarn
Tan
yarn up next
@Tan `yarn up next`
Tan
oh
u're on an old version of yarn
lemme look it up
@Tan u're on an old version of yarn
oh, how can I upgrade yarn?
Tan
yarn upgrade next
yarn 3 is the latest