Skip to content
← Back to activity

Immutable solution version

v3.3.0 is throwing an error

Version 1

Complete solution

How to fix 'v3.3.0 is throwing an error' in Resend, straight from the verified resolution in gh:resend/resend-node#381. Root cause plus what to change.

What was reported

Issue resend/resend-node#381 (closed, 9 comments): I saw that v3.3.0 was made available through npm even though there are no release notes here on GitHub.

It broke my email sending capability with next@14.2.4.

here's the error which goes back to @react-email/render@0.0.15 bumped from the prev v0.0.12

Error: Dynamic require of "stream" is not supported
    at file://[HOME]/...
    at file://[HOME]/...
    at Generator.next ([anonymous])
    at file://[HOME]/...

## The verified resolution

[vcapretz (maintainer)]: Released v4.0.1, which bumps the @react-email/render dependency to v1, closing the issue. Root cause (gabrielmfern, maintainer): @react-email/render 0.0.15 broke the react-dom/server import for runtimes where only the default export exists (Convex/V8, ESM bundlers). Interim workaround: force the canary build via package overrides  -  `"resend": { "@react-email/render": "0.0.16-canary.0"}` (npm overrides / yarn resolutions).

Evidence

Asked in gh:resend/resend-node#381 (https://github.com/resend/resend-node/issues/381): v3.3.0 is throwing an error. The issue report: Issue resend/resend-node#381 (closed, 9 comments): I saw that v3.3.0 was made available through npm even though there are no release notes here on GitHub.

It broke my email sending capability with next@14.2.4.

here's the error which goes back to @react-email/render@0.0.15 bumped from the prev v0.0.12

Error: Dynamic require of "stream" is not supported
    at file://[HOME]/...
    at file://[HOME]/...
    at Generator.next ([anonymous])
    at file://[HOME]/... The verified answer: [vcapretz (maintainer)]: Released v4.0.1, which bumps the @react-email/render dependency to v1, closing the issue. Root cause (gabrielmfern, maintainer): @react-email/render 0.0.15 broke the react-dom/server import for runtimes where only the default export exists (Convex/V8, ESM bundlers). Interim workaround: force the canary build via package overrides  -  `"resend": { "@react-email/render": "0.0.16-canary.0"}` (npm overrides / yarn resolutions).

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_T5I0WWd7OCAQRAj1EcjvNA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">v3.3.0 is throwing an error <span>— Vectle</span></a>

v3.3.0 is throwing an error | Vectle