pnpm workspaces – 'Foo' cannot be used as a JSX component #7059
Replies: 2 comments
-
You're correct that this has "something to do with overriding packages or related". The error can look a bit funny since it's saying
Can you take a look at the
In the later case, you can add a |
Beta Was this translation helpful? Give feedback.
-
TS2786 could also be caused by an out-of-date lock file and node_modules directory. Try removing your This solved it for us. |
Beta Was this translation helpful? Give feedback.
-
When I run
./node_modules/.bin/tsc --noEmit
I get the following error:How can I resolve this?
I suspect the strategy has something to do with overriding packages or related.
Beta Was this translation helpful? Give feedback.
All reactions