react demo 1 compile fail - 'SVG' cannot be used as a JSX component.
the theme is not touched at all but cannot be built due to compile errors:
node v16.14.2
npm 8.5.0
$ npm run build
> demo1@8.0.38 build
> react-scripts build
Creating an optimized production build...
=============
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 13 |
| ^
14 |
15 | )
16 | }
Replies (2)
Just used package.json and yarn.lock from the below URL and everything seems to be fine. Why don't the theme is not being updated with correct files?
https://gist.github.com/carmelodevuz/40c32fa5a96d3a64c5f4be20bf44085c.
Hi,
We are releasing (Metronic v8.039) new demos 6+7 for React version and a full upgrade for all demos to react 18. ETA is early May.
For now, just need to use a workaround from the doc: https://preview.keenthemes.com/metronic8/react/docs/docs/quick-start
Regards,
Keenthemes support