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?
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.
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
I'm having the same issue :/
Try to execute build with exactly provided --demo
option, it missing in docs but fixed for me the same problem, e.g. npm run build --demo1
I also got same error.
"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."
I bought the metro Themeforest and I also build with demo1. Why this error happened?
I am also running into this issue. Any updates? Just purcahsed the theme.
I have the same problem but demo 37 version 8.2.0
use node js v14 and npm v6