The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

Typescript error on metronic_v8.0.38


Hi guys, so I installed the yarn dependencies and typescript into react/demo1 and then I initiated the react app with yarn start. However I am getting a errors on some prop kind of thing without even having touched the code thus far.

The errror I am getting is:

/Users/chtech/Downloads/metronic_v8.0.38/react copy/demo1/src/_metronic/helpers/components/KTCard.tsx
TypeScript error in /Users/saifrana/Downloads/metronic_v8.0.38/react copy/demo1/src/_metronic/helpers/components/KTCard.tsx(35,5):
Property 'children' does not exist on type 'Props'. TS2339

33 | utilityPY,
34 | utilityPX,
> 35 | children,
| ^
36 | } = props
37 | return (
38 | <div

Getting some other similar errors as well on some of the other components.. I though the metronic template would run perfectly fine on my dev server once dependencies were installed without any TS errors. Is the errors Im facing overall generic compatibility errors or is it something Im doing wrong?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)

 
Deleted comment

Hi,

We know about this issue, the fix will be released in v8.039.
For now, follow the instruction in the doc: https://preview.keenthemes.com/metronic8/react/docs/docs/quick-start. I hope it will help you.

Regards,
Keenthemes support



Hi,

So the package.json in that github repo you shared is for the demo3. I was trying to use the demo1. But since you guys have posted new package.json for only demo3 in the repo I assume that the demo1 is not usable at this time?



Hi,

All demos have the same packages list, which means you can use it for demo1 also.

Regards,
Keenthemes support



i got same error after running yarn install and yarn start for our available project, i was working on my other laptop, after i pulled it from the github to work on my new pc. is there any news about this error ? could you let me know if anybody solve how to handle this error ?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.