Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Incompatibility with React-RxJS when TurboPack is enabled (ReferenceError: Subscriber is not defined) #50106

Closed
1 task done
lojithv opened this issue May 20, 2023 · 2 comments
Labels
bug Issue was opened via the bug report template. linear: turbopack Confirmed issue that is tracked by the Turbopack team. locked Turbopack Related to Turbopack with Next.js.

Comments

@lojithv
Copy link

lojithv commented May 20, 2023

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
      Platform: win32
      Arch: x64
      Version: Windows 10 Pro
    Binaries:
      Node: 16.14.2
      npm: N/A
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 13.4.4-canary.0
      eslint-config-next: 13.4.3
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.0.4

Which area(s) of Next.js are affected? (leave empty if unsure)

Turbopack (--turbo)

Link to the code that reproduces this issue or a replay of the bug

https://github.com/lojithv/react-rxjs-nextjs-turbo-issue.git

To Reproduce

Use react-rxjs with turbopack.

  1. Enable turbopack
  2. Add react-rxjs
  3. Create a hook from an observable
  4. run app using next dev --turbo

Screenshot_3
Screenshot_2

Describe the Bug

Cannot use React-Rxjs with turbopack.

Expected Behavior

Should be able to use React-Rxjs with turbopack.

Which browser are you using? (if relevant)

Chrome 113.0.5672.127

How are you deploying your application? (if relevant)

No response

WEB-1089

@lojithv lojithv added the bug Issue was opened via the bug report template. label May 20, 2023
@github-actions github-actions bot added the Turbopack Related to Turbopack with Next.js. label May 20, 2023
@padmaia padmaia added the linear: turbopack Confirmed issue that is tracked by the Turbopack team. label May 23, 2023
@ForsakenHarmony
Copy link
Contributor

Should be fixed with vercel/turborepo#5392

Copy link
Contributor

github-actions bot commented Feb 8, 2024

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot added the locked label Feb 8, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template. linear: turbopack Confirmed issue that is tracked by the Turbopack team. locked Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

No branches or pull requests

3 participants