Open newcworld opened 5 months ago
Same thing happening to me :-(
same issue for me :(
I had this problem, too.
I resolved it by adding "@vercel/otel" to the serverComponentsExternalPackages
list in Next.js configuration.
In next.config.ts
add:
experimental: {,
serverComponentsExternalPackages: [
"@vercel/otel"
]
}
This change tells Next.js to treat @vercel/otel
as an external package in server components, which should resolve the critical dependency warning.