Open aayusharora14 opened 8 months ago
It looks like there's an issue with importing 'renderToReadableStream' from 'react-dom/server' in the file './node_modules/resend/node_modules/@react-email/render/dist/index.mjs'. Make sure the 'renderToReadableStream' export is available in the version of 'react-dom/server' you are using. Check your dependencies and update if needed.
I have updated all my dependencies still showing this error
Failed to compile.
./node_modules/resend/node_modules/@react-email/render/dist/index.mjs Attempted import error: 'renderToReadableStream' is not exported from 'react-dom/server' (imported as 'renderToReadableStream').
Import trace for requested module: ./node_modules/resend/node_modules/@react-email/render/dist/index.mjs ./node_modules/resend/build/src/resend.js ./node_modules/resend/build/src/index.js ./src/app/api/send/route.js