react icon indicating copy to clipboard operation
react copied to clipboard

Bug: `react-server-dom-esm` package is empty

Open nickserv opened this issue 2 years ago • 10 comments

I thought it would be helpful to use react-server-dom-esm for an RSC test integration, but the package appears to be empty for parking purposes.

Please consider publishing it as I'd prefer to use official implementations of servers to encourage testing practices that are supported by React. I'm also unable to build from source, it appears as the version of this package on main isn't in working condition outside of some internal fixtures yet.

Note: I originally thought this issue also applied to react-server-dom-webpack, but later realized I was installing the wrong channel, and that only the latest channel was empty. If there are resources to document this package, please clarify channel usage in the installation instructions.

React version: 18.3 (canary)

Steps To Reproduce

  1. Install react-server-dom-esm
  2. import "react-server-dom-esm/server";
  3. Run with node --conditions react-server

Alternative you can look up the code on npm, which has no JavaScript files.

The current behavior

Package fails to resolve modules because they're missing.

The expected behavior

Package contains code that can be imported and run.

nickserv avatar Aug 06 '23 09:08 nickserv

having the same issue with react-server-dom-webpack. Looks like 2 days ago (8/4) a publish was made by @sebmarkbage for a version 0.0.1 which shows up as latest version to npm and only has an empty index.js and a package.json file in it. https://www.npmjs.com/package/react-server-dom-webpack?activeTab=code

Now I'm getting this error while running build in a nextjs app. This didn't happen before.

Warning Babel parse has failed: This experimental syntax requires enabling one of the following parser plugin(s): "flow", "typescript". (13:7)

keithbrewer1337 avatar Aug 06 '23 15:08 keithbrewer1337

Not sure what the source of that error is specifically, but Next's app router already supports RSCs, so you don't need this package unless you're integrating a supplemental tool (like a test framework or story generator).

nickserv avatar Aug 07 '23 01:08 nickserv

I later realized react-server-dom-webpack has working releases in its experimental and canary channels. If you're using react-server-dom-webpack, install react-server-dom-webpack@canary. The issue still remains for react-server-dom-esm.

nickserv avatar Aug 17 '23 04:08 nickserv

@sebmarkbage Can you confirm if it's intentional or a misconfiguration? In #26889, you said it's just a proof-of-concept. So, I wonder if that's the reason.

dai-shi avatar Feb 09 '24 02:02 dai-shi

Update: https://twitter.com/sebmarkbage/status/1772266389060907472

himself65 avatar Mar 28 '24 02:03 himself65

Thanks, though I'm still keeping this open to track until there is a non-empty release.

nickserv avatar Mar 28 '24 03:03 nickserv

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Jun 26 '24 04:06 github-actions[bot]

bump

I think if react doesn't release esm version, react should delete that package

himself65 avatar Jun 26 '24 04:06 himself65

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Sep 24 '24 05:09 github-actions[bot]

Bump

Asim-Tahir avatar Sep 25 '24 11:09 Asim-Tahir

bump

nivethan-dev avatar Oct 23 '24 06:10 nivethan-dev

bump

waynehamadi avatar Oct 31 '24 04:10 waynehamadi

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Jan 29 '25 05:01 github-actions[bot]

bump

nickserv avatar Feb 01 '25 00:02 nickserv

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Jun 11 '25 12:06 github-actions[bot]

bump

uinz avatar Jun 12 '25 06:06 uinz

bumpyyyyyyyyyyyyyy

braveltd avatar Jul 28 '25 11:07 braveltd

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Oct 26 '25 12:10 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

github-actions[bot] avatar Nov 02 '25 13:11 github-actions[bot]