Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

YARN BUILD ERROR


I HAVE METRONIC 8.2 WHEN I TRY TO BUILD AND THEN OPEN THE INDEX.HTML FILE, THERE ARE JUST TWO BROKEN IMAGE LINKS AND LOADING TEXT. WHEN I CLICKED THE CONSOLE THERE ARE MIME CHECKING PROBLEMS. WHEN I SEARCH, I THINK THAT THERE IS MAYBE SOMETHING IS WRONG ABOUT WEBPACK. HOW I CORRECT THIS ISSUE? PLS HELP ME


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)


Hi Sudenur,

This is correct behavior, the build script will just copy index.html from public folder.

If you want to test your application in production locally you can use serve command.

npm install -g serve
serve -s build

For more info please check out our Demploument guide and CRA docs.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



main.a60e08aa.js:1 Uncaught SyntaxError: Unexpected token '<' GETTING THIS OR SOME NONORDINARY MIME CHECKING FAULTS Metronic dark logo Metronic light logo Loading ... JUST GETTING THIS AS A TEXT



Now A person who deployed metronic, helps me and there are problems about your documentation after a lot changes on package.json and .env file we are able to deploy metronic table.



Hi Sudenur,

Glad to hear you managed to deploy your app.

We rechecked our deployment docs page and the information there still seems to be valid.

Could you please point us to the problem you found in docs?

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(