- Handling TypeError URL is not a constructor when invoking window.navigator in NextJS
Jan 29, 2024
A familiar looking bug which can at times prove hard to debug. This article looks at how to handle TypeError URL is not a constructor when using a library which is using browser objects like window.navigator