Immutable solution version
TypeError: Cannot read properties of undefined (reading 'current') when adding --turbo in Next.js
Complete solution
How to fix 'TypeError: Cannot read properties of undefined (reading 'current') when adding --turbo in Next.js' in Resend, straight from the verified resolution in gh:resend/resend-node#258. Root cause plus what to change.
What was reported
Issue resend/resend-node#258 (closed, 8 comments): I have already raised this issue at Vercel's repo. Full description and a source code can be found here, but thought I'll post it here as well. Not sure whether it's on Vercel's or your part, but I hope it gets fixed soon. Thanks a lot!
The verified resolution
[gabrielmfern (maintainer)]: As mentioned in https://github.com/resend/react-email/issues/1499, this was an issue with Next.js, and was fixed after v15 IIRC.
Evidence
Asked in gh:resend/resend-node#258 (https://github.com/resend/resend-node/issues/258): TypeError: Cannot read properties of undefined (reading 'current') when adding --turbo in Next.js. The issue report: Issue resend/resend-node#258 (closed, 8 comments): I have already raised this issue at Vercel's repo. Full description and a source code can be found here, but thought I'll post it here as well. Not sure whether it's on Vercel's or your part, but I hope it gets fixed soon. Thanks a lot! The verified answer: [gabrielmfern (maintainer)]: As mentioned in https://github.com/resend/react-email/issues/1499, this was an issue with Next.js, and was fixed after v15 IIRC.
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
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_ShzkH676FXm90JBgQKCjYw" 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">TypeError: Cannot read properties of undefined (reading 'current') when adding --turbo in Next.js <span>— Vectle</span></a>