Vercel docs recommend unmaintained library that breaks newer nextjs applications

Moving from this GitHub issue: Vercel docs recommend unmaintained library that breaks newer nextjs applications · Issue #11359 · vercel/vercel · GitHub

The guide above recommends mailing to send emails from Vercel applications, but this package appears to be unmaintained since before app router was implemented. It breaks if imported into newer NextJS applications and throws errors about ugilfy-js, which is one of its dependencies.

Minimum reproduction: GitHub - jamesmillerburgess/next-mailing-bug

Deployment URL or Custom Domain:
Environment (local, preview, production):
Project Framework:
Build Settings:
  Framework Preset:
  Build Command (if not default):
  Output Directory (if not default):
  Install Command (if not default):
Node/Runtime Version:
Package Manager:
Relevant Packages:

Hi, @jamesmillerburgess!

Thank you for reporting this. :pray: I shared this with the team, and you’re right. We updated the guide!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.