web3-onboard
web3-onboard copied to clipboard
[BUG] Attempted import error: 'startWith' is not exported from 'rxjs' (imported as 'startWith'). web3-onboard/core
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
- [X] 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.
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",