images.remotePatterns in next.config.js. The older images.domains option still works but is deprecated.useEffect.fs, which only exists in Node.js. Move the fs code into server-only code, such as getStaticProps, a Route Handler or a Server Component.searchParams prop; in a Client Component, use the useSearchParams hook. Dynamic path segments come from params.await cookies() and call set() from a Server Action or Route Handler. Server Components cannot set cookies because their response has already started.window. Access it inside useEffect or an event handler, or load the component with next/dynamic and ssr: false.Try Bugsee for free — no commitments, no hidden fees.