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]: Cannot read properties of null (reading b #11534

Closed
algomage opened this issue May 6, 2024 · 2 comments
Closed

[Bug]: Cannot read properties of null (reading b #11534

algomage opened this issue May 6, 2024 · 2 comments
Labels

Comments

@algomage
Copy link

algomage commented May 6, 2024

What version of React Router are you using?

6.14.1

Steps to Reproduce

Install react-router-dom ^6.14.1 and react ^18.2.0 in an electron app. As it is an electron app instead of Browserrouter I am using hashRouter
It is running smoothly on all users machine except one windows machine where blank screen with the below error is coming

WhatsApp Image 2024-05-06 at 4 36 27 PM
WhatsApp Image 2024-05-06 at 4 36 28 PM

Expected Behavior

React router should work properly and it should navigate through different page

Actual Behavior

Currently it's crashing just when routes are called.

@algomage algomage added the bug label May 6, 2024
@timdorr
Copy link
Member

timdorr commented May 6, 2024

It appears you're using a Link outside of BrowserRouter/RouterProvider. This isn't a bug with the library.

@timdorr timdorr closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
@algomage
Copy link
Author

algomage commented May 8, 2024

Apologies for raising it as a bug. Thanks a lot for your reply. It solved our issue. Just out of curiosity why this issue popped up in 2 machine out of 600. Is it something to do with electron ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants