-
Notifications
You must be signed in to change notification settings - Fork 437
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
'Link' cannot be used as a JSX component. #566
Comments
I am also facing a similar issue: @fisshy any ideas? |
Have also bee experiencing this issue as of last week with "Link" and "Element" components. |
@KilianSL the issue for me was the "resolutions" field in my package.json was set to an earlier version of reactjs. I updated it to match the reactjs version I had installed in my dependencies. |
Same problem here with react 18.2.0. |
I experienced same problem when I upgraded react from 16.14.0 to 18.2.0 |
Same problem react: 18.2.0 |
any resolutions yet for this? |
I resolved problem by using @types/react 18.2.3. I experienced same problem when I upgraded @types/react from 18.2.3 to 18.2.46. |
same problem using 18.2.3 :( |
I have same issue. |
I also have this issue. Does anyone have any updates? |
Erro: 'Link' cannot be used as a JSX component.
Its type 'typeof Link' is not a valid JSX element type.ts(2786)
I'm having a problem using the Link.
Version I'm using:
"react-scroll": "^1.9.0",
"next": "13.4.5",
"react": "^18.2.0",
"react-dom": "18.2.0",
"@types/react": "18.2.12",
"@types/react-scroll": "^1.8.7",
I would like some help to resolve this issue. It works correctly. but it is giving build error in vercel
The text was updated successfully, but these errors were encountered: