Closed wayne-crosby closed 8 months ago
Hi @wayne-orgorg, Thanks for reporting.
I suspect it's because of having two versions of @types/react
installed. mjml-react would be using one and your main app is using the other.
Could you try deleting both dependency blocks in the yark.lock
file and try running yarn install
. It should result in a single version "18.2.33"
dependency block in the yark.lock
file.
Let me know if that works, otherwise I'll try to reproduce locally.
Upgrading from: "@types/react": "18.2.21" to "@types/react": "18.2.33" seems to cause type errors with mjml.
yarn upgrade
changes yarn.lock from:to
After upgrading to newest types, the following type errors are generated on build.
code: