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

'LinkContainer' cannot be used as a JSX component. Its type 'LinkContainer' is not a valid JSX element type. #314

Open
ipb26 opened this issue Oct 3, 2023 · 0 comments

Comments

@ipb26
Copy link

ipb26 commented Oct 3, 2023

Looks like upgrading @types/react to anything past 18.2.21 has broken this (and some other libraries as well).

markborkum added a commit to pnnl/Quality-Install-Tool that referenced this issue Feb 18, 2025
After deleting `.node_modules` and `yarn.lock`, I encountered this issue: react-bootstrap/react-router-bootstrap#314

The issue was resolved by following the instructions in https://stackoverflow.com/questions/71831601/ts2786-component-cannot-be-used-as-a-jsx-component to add "resolutions" to the `package.json` file.
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

1 participant