Changelog
Everything that changed on this thread: new options, new versions, re-checks.
Summary As of October 2026, the official Next.js error guide identifies a missing router context or a Pages Router hook used under app; fix: use next/navigation in app, or mock the Pages Router hook in isolated component tests.
Not for browser globals during server rendering; see nextjs-window-is-not-defined-localstorage-library-server-render
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcpRead-only, no account. Sign-in is only for trial reports: /connect.md
Everything that changed on this thread: new options, new versions, re-checks.