Skip to content

Commit 45ab698

Browse files
authored
fix(react-email): "createServerParamsForMetadata is not a function" (#2206)
1 parent 1a17219 commit 45ab698

File tree

4 files changed

+9
-126
lines changed

4 files changed

+9
-126
lines changed

.changeset/honest-paws-wash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-email": patch
3+
---
4+
5+
update next to 15.3.1

packages/react-email/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"glob": "^11.0.0",
3939
"log-symbols": "^7.0.0",
4040
"mime-types": "^3.0.0",
41-
"next": "^15.2.4",
41+
"next": "^15.3.1",
4242
"normalize-path": "^3.0.0",
4343
"ora": "^8.0.0",
4444
"socket.io": "^4.8.1"

packages/react-email/src/cli/commands/export.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export const exportTemplates = async (
130130
) => Promise<string>;
131131
reactEmailCreateReactElement: typeof React.createElement;
132132
};
133+
console.log(emailModule);
133134
const rendered = await emailModule.render(
134135
emailModule.reactEmailCreateReactElement(emailModule.default, {}),
135136
options,

pnpm-lock.yaml

Lines changed: 2 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)