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

Types and versions #193

Open
tomlinguist opened this issue Sep 2, 2022 · 1 comment
Open

Types and versions #193

tomlinguist opened this issue Sep 2, 2022 · 1 comment

Comments

@tomlinguist
Copy link

tomlinguist commented Sep 2, 2022

There is some issue with types resolution

/app/src/index.tsx
TypeScript error in /app/src/index.tsx(8,4):
'Router' cannot be used as a JSX component.
Its instance type 'BrowserRouter' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/react-transition-group/node_modules/@types/react/index").ReactNode'. TS2786

 6 | 
 7 | ReactDOM.render(

8 |
| ^
9 |
10 | ,
11 | document.getElementById('root')

@tomlinguist tomlinguist changed the title Trying to install on windows but get error Types and versions Sep 4, 2022
@AlmondMilk4242
Copy link

Hi im having the same issue, did anyone manage to deploy it without facing the above error message, Please Guide

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

2 participants