Skip to content

[BUG] Attempted import error: 'startWith' is not exported from 'rxjs' (imported as 'startWith'). web3-onboard/core #2276

@hkhangus

Description

@hkhangus

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions