Error install webpack metronic

Good Morning!

I bought the metronic product and went to update it to version 8.0.37 when running npm run build --demo1 in the terminal, as per the instructions I already removed the "type": "module", but it's giving this error:

D:\metronic_v8.0.37\html\theme\tools>npm run build --demo1

> metronic@8.0.37 build
> webpack

[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration[0].entry['js/widgets.bundle'] should be a non-empty array.
-> All modules are loaded upon startup. The last one is exported.

how do i solve this problem?

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

Hi Jefferson,

Are you working on the fresh installation setup? Could you please verify if this folder has content? /metronic_v8.0.37/html/demo1/src/js/widgets

Thanks

hello Faizal!

This folder has content yes.

Thanks

Faizal!

if I delete the demo1 that comes in the download, it doesn't generate any of the files.

Thanks.

Hi Jefferson,

We have tested it, it should be working.

image

Please try to remove the node_modules folder, remove the yarn.lock file. Then please retry.

Thanks

Good morning, Faizal!

When I run the command npm run build --demo1 with the folder and files that were downloaded demo1 from the themeforest platform it runs perfectly but when I run the command npm run build --demo2 to npm run build --demo21 it doesn't run .

From what I realized he is looking for information in the source folder, as in the download only demo1 came, the others are not generating.

I performed all the procedures you instructed me above, but the error for demo2 to demo21 remains the same.

Follow the image below showing the error:

Hi,

I assume you use a zip file downloaded from the Themeforest. In the Themeforest zip file, we only include demo1 only for all frameworks. For other demos, you have to download them separately. Envato has some limits on the uploaded zip file. We have to do this to expand more demos.

Please check this link, and download demo2 or other demos by providing your purchase code.

https://devs.keenthemes.com/metronic

Thanks

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