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] Attempted import error: 'startWith' is not exported from 'rxjs' (imported as 'startWith'). web3-onboard/core #2276

Open
1 task done
hkhangus opened this issue Aug 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hkhangus
Copy link

Current Behavior

Module error

Expected Behavior

Module work

Steps To Reproduce

I'm following this tutorial
I export it to a provider like
OnboardProvider.tsx

export default function OnboardProvider({
    children,
  }: {
    children: React.ReactNode;
  }) {
  return (
    <Web3OnboardProvider web3Onboard={web3Onboard}>
      {children}
    </Web3OnboardProvider>
  )
}

And then it didn't work cause log under

What package is effected by this issue?

@web3-onboard/core

Is this a build or a runtime issue?

Runtime

Package Version

^2.9.2

Node Version

20.17.0

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

Relevant log output

./node_modules/@web3-onboard/core/dist/Index-652aeb8c.js
Attempted import error: 'startWith' is not exported from 'rxjs' (imported as 'startWith').

Import trace for requested module:
./node_modules/@web3-onboard/core/dist/Index-652aeb8c.js
./node_modules/@web3-onboard/core/dist/index-da42639e.js
./node_modules/@web3-onboard/core/dist/index.js
./node_modules/@web3-onboard/react/dist/context.js
./node_modules/@web3-onboard/react/dist/index.js
./src/providers/OnboardProvider.tsx
./src/providers/Provider.tsx

Anything else?

No response

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
@hkhangus hkhangus added the bug Something isn't working label Aug 28, 2024
@Amirjab21
Copy link

Did anyone look into this? @hkhangus @Adamj1232

I'm getting the same problem on Nextjs and CRA. Interestingly, this wasn't happening on older versions using Node v16 and
"@web3-onboard/core": "^2.10.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants