Closed theHoracle closed 1 week ago
Hey @theHoracle! Looks like your installed version of @payloadcms/email-resend
is 3.0.0-beta.29
, while other packages are on 3.0.0-beta.121
. They should be all on the same version, try to run pnpm add @payloadcms/email-resend@3.0.0-beta.121
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Describe the Bug
The payload resend email package is broken - ` ⨯ ./node_modules/.pnpm/@payloadcms+email-resend@3.0.0-beta.29_payload@3.0.0-beta.121_graphql@16.9.0_monaco-editor@0._srgwrjl2b7cefuyhbajcvxefse/node_modules/@payloadcms/email-resend/dist/index.js:1:1 Module not found: Can't resolve 'payload/errors'
https://nextjs.org/docs/messages/module-not-found `
Link to the code that reproduces this issue
https://github.com/theHoracle/donner-payload3b.git
Reproduction Steps
pnpm add @payloadcms/email-resend
then in payload.config ` import { resendAdapter } from '@payloadcms/email-resend'
export default buildConfig({ email: resendAdapter({ defaultFromAddress: 'info@foundation.com', defaultFromName: 'Foundation', apiKey: process.env.RESEND_API_KEY || '', }), }) `
Which area(s) are affected? (Select all that apply)
plugin: other
Environment Info