I need a help in NEXT JS google font
i am having a problem in my next js project of google font is not loading or displaying on web or browser and not showing any errors in console and in first it was working but now it is not can any one help
3 Replies
we need to see some code in order to help
where should i upload it
and it is showing this error AbortError: The user aborted a request.
at abort (C:\Users\abc\hks-final-project\node_modules\next\dist\compiled\node-fetch\index.js:1:65594)
at EventTarget.abortAndFinalize (C:\Users\abc\hks-final-project\node_modules\next\dist\compiled\node-fetch\index.js:1:65814)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:741:20)
at EventTarget.dispatchEvent (node:internal/event_target:683:26)
at abortSignal (node:internal/abort_controller:368:10)
at AbortController.abort (node:internal/abort_controller:402:5)
at Timeout.<anonymous> (C:\Users\abc\hks-final-project\node_modules\next\dist\compiled@next\font\dist\google\fetch-css-from-google-fonts.js:44:47)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
type: 'aborted'
}
check out #how-to-ask-good-questions
especially this point at the end:
Even if you include some code of what you've been playing with, including a simple, working version of what you are having issues with is often the best way to help people help you. You can use https://pen.new/, https://stackblitz.com/ or https://codesandbox.io/ for this, and share the links.