Skip to content

chore: fix @react-email/body version (RESOLVED)#3039

Closed
wthrajat wants to merge 2 commits intoresend:canaryfrom
wthrajat:fix-body-version
Closed

chore: fix @react-email/body version (RESOLVED)#3039
wthrajat wants to merge 2 commits intoresend:canaryfrom
wthrajat:fix-body-version

Conversation

@wthrajat
Copy link
Copy Markdown

@wthrajat wthrajat commented Mar 11, 2026

PS: see #3039 (comment)


The latest version is v0.2.1 (see: https://www.npmjs.com/package/@react-email/body)

This is causing an error while installing the lib:

rajat@mac ~> pnpm i @react-email/components


ERR_PNPM_NO_MATCHING_VERSIONNo matching version found for @react-email/body@0.3.0 while fetching it from https://registry.npmjs.org/

This error happened while installing the dependencies of @react-email/components@1.0.9

The latest release of @react-email/body is "0.2.1".

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 11, 2026

⚠️ No Changeset found

Latest commit: 3bf7358

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 11, 2026

@wthrajat is attempting to deploy a commit to the resend Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 11, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednormalize-path@​3.0.01001009975100
Addedstacktrace-parser@​0.1.111001008580100
Addedmdast-util-to-string@​4.0.010010010082100
Addedpunycode@​2.3.110010010082100
Addedpostcss@​8.5.6991008289100
Addedremark@​15.0.11001009883100
Addedtsconfig-paths@​4.2.09910010086100
Addedsharp@​0.34.59110010086100
Addedtypescript@​5.9.31001009010090
Addedthree@​0.170.01001009894100

View full report

@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 11, 2026

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Medium
Install-time scripts: npm sharp during install

Install script: install

Source: node install/check.js || npm run build

From: packages/preview-server/package.jsonnpm/sharp@0.34.5

ℹ Read more on: This package | This alert | What is an install script?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/sharp@0.34.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Fixes invalid package version in package.json to match the latest published version on npm, resolving installation errors.


Since this is your first cubic review, here's how it works:

  • cubic automatically reviews your code and comments on bugs and improvements
  • Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
  • Add one-off context when rerunning by tagging @cubic-dev-ai with guidance or docs links (including llms.txt)
  • Ask questions if you need clarification on any suggestion

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 11, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@react-email/body@3039

commit: fe3b296

@wthrajat
Copy link
Copy Markdown
Author

@gabrielmfern ah I see #3035 now, looks like the manual versioning might have caused a registry mismatch.

It seems @react-email/components@1.0.9 was published, but it requires @react-email/body@0.3.0, which isn't available on NPM yet (latest is still 0.2.1). This is causing an ERR_PNPM_NO_MATCHING_VERSION for anyone trying to install the latest components:

Was the publish for body@0.3.0 successful on your end, or did the changeset bug block that specific package?

For now in our source code, we've managed to do a workaround using pnpm override. Still flagging this up. Also now I realise this should have been an issue, not a PR ;)

@wthrajat wthrajat marked this pull request as draft March 11, 2026 14:21
@gabrielmfern
Copy link
Copy Markdown
Member

Was the publish for body@0.3.0 successful on your end, or did the changeset bug block that specific package?

Was successful, I did it manually out of CI

@wthrajat
Copy link
Copy Markdown
Author

Awesome, thanks!

@wthrajat wthrajat changed the title chore: fix @react-email/body version chore: fix @react-email/body version (RESOLVED) Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants