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

nearAPI.providers.FailoverRpcProvider is not a constructor TypeError on SvelteKit #1277

Open
carina-akaia opened this issue Jan 12, 2025 · 1 comment
Labels
bug Something isn't working Emerging Tech Emerging Tech flying formation at Pagoda

Comments

@carina-akaia
Copy link

The wallet selector crashes in runtime with TypeError: nearAPI.providers.FailoverRpcProvider is not a constructor

Steps To Reproduce

  1. Install Bun runtime if it's not already installed
  2. Clone https://github.com/akaia-io/near-ramen/
  3. cd near-ramen && bun dev
  4. Open http://localhost:5173/ in your browser
  5. Check console errors

Screenshots

image

@carina-akaia carina-akaia added bug Something isn't working Emerging Tech Emerging Tech flying formation at Pagoda labels Jan 12, 2025
@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools Jan 12, 2025
@carina-akaia
Copy link
Author

UPD: Was able to reproduce the issue by running a Nextjs app that was working fine with Node on Bun, so it seems that the root cause is not related to SvelteKit in particular

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Emerging Tech Emerging Tech flying formation at Pagoda
Projects
Status: NEW❗
Development

No branches or pull requests

1 participant