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

Metronic 9 React Setup error when building

the error come from metronic folder src/metronic/vendors/@form-validation/cjs/plugin-mui/index.js:1:1 - error TS9005: Declaration emit for this file requires using private name 'Mui'. An explicit type annotation may unblock declaration emit.

every single file from metronic folder error like this

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 (5)


Hi,

May I know which Metronic version and framework are you using ?

Metronic v9 Tailwind HTML or Metronic v9 Tailwind React ?

Regards,
Sean



Metronic 9.1.2 (latest) and react framework

im using step where i need download from github repository first and adding folder from metronic-tailwind-html



Hi,

For React please use the official React version of Metronic 9 Tailwind.

For react you can use the most advanced form validation tool:


Please do not mix the features of the HTML version with those of the React version. We have especially released the complete react version for Metronic 9 Tailwind which is available in the recent v9.1.2 update, under the Vite folder.

Regards,
Sean



in the docs stated

Copy the src folder from the metronic-tailwind-html package and paste it into the React src directory.

so im wrong following that step??



Hi,

This is an older solution before we release the new Metronic 9 Tailwind React with complete generic react components.

Please download the latest Metronic v9.1.2 from themeforest and just use the vite/typescript or vite/javascript version of the Metronic 9 React. To get started please refer to it's readme.md file.

Regards,
Sean


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