Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Just bought the theme. Can't yarn start

Hi,

I just bought the theme. I tried to launch the React Version Demo 1.

Yarn install without a problem but when I yarn start :

'SVG' cannot be used as a JSX component.
  Its instance type 'InlineSVG' is not a valid JSX element.
    The types returned by 'render()' are incompatible between these types.
      Type 'React.ReactNode' is not assignable to type 'import("/mnt/c/Users/adrie/Desktop/metronic/metronic_v8.0.38/react/docs/node_modules/react-bootstrap/node_modules/@types/react/index").ReactNode'.
        Type '{}' is not assignable to type 'ReactNode'.
          Type '{}' is missing the following properties from type 'ReactPortal': key, children, type, props  TS2786

    11 |   return (
    12 |     
  > 13 |       
       |        ^
    14 |     
    15 |   )
    16 | }

Can you please help me ?

best regards, A.

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)


Hi,

Could you please to the next steps:
1) remove your node_modules folder.
2) update your package.json and yarn.lock files from this gist https://gist.github.com/carmelodevuz/40c32fa5a96d3a64c5f4be20bf44085c.
3) re-install packages with yarn

These steps should help you.

Regards,
Keenthemes support



Thanks a lot, it works.

But now admin@demo.com / demo are not working

Error 404 on this adresse in the dev console



Tanks a lot.
I forgot the .env file.

Everything is working as expected. happy



Glad to see that you solved your issues.

Regards,
Keenthemes support


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  :(