Cannot find namespace "JSX" for dependencies. #11432
Unanswered
joezimjs
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're trying to upgrade our project from v3.3.10 to v3.4.33 and when I did the update, we're getting build errors saying "node_modules/.../(XX,XX): error TS2503: Cannot find namespace 'JSX'." (I blocked out the file paths, names, line numbers, etc. because there are multiple errors and because it's not particularly important).
I know this is because of the change in 3.4.0 where JSX was removed from the global namespace, but I followed the guidance and added
"jsxImportSource": "vue"
to my tsconfig, but it didn't help. I assume the reason it doesn't help is because the library has to make that update to their codebase, and it looks like they have based on the changelog for later versions, but updating that library causes compatibility issues, so I'm wondering if there's any way that I can make it work without updating the dependency?Beta Was this translation helpful? Give feedback.
All reactions