Notion SDK breaks Next.js 13 Vercel build: `Module not found: Can't resolve 'encoding'`
This is a warning, not a real failure, and it is not specific to Next.js 13. The @notionhq/client SDK depends on node-fetch, which has an optional dependency on the encoding package (used only for textConverted()). Webpack/Vercel's build flags it because it cannot resolve that optional module. Several users repo…
Problem outcome: unknown