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

Failed to Compile after version upgrade of react-router-dom from 5V to V6 #104

Open
rajeevsi opened this issue Dec 14, 2021 · 4 comments
Open

Comments

@rajeevsi
Copy link

Description

Failed to compile.

./node_modules/react-router-guards/dist/index.es.js
Attempted import error: '__RouterContext' is not exported from 'react-router' (imported as 's').

Steps to reproduce

Clear steps describing how to reproduce the issue.

Expected result

What should happen?

Actual result

What happened.

Environment

  • OS:
  • Browser and its version:
  • React Router DOM version:
@yigityuce
Copy link

+1

1 similar comment
@erickbelfy
Copy link

+1

@vtrphan
Copy link

vtrphan commented Apr 9, 2022

is this library still maintained?

@Sorriso337
Copy link

Sorriso337 commented May 11, 2023

This library is not maintained... In react-router-fom V6 i use react-router-guarded-routes the npmjs package is : https://www.npmjs.com/package/react-router-guarded-routes and it works

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

No branches or pull requests

5 participants