Hi team,
I am trying to run npm run build --demo1 from starterkit/_keenthemes/tools
but getting below 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 have deleted node_modules and tried again but the issue still exist. any help would be greatly appreciated
use node js v14 and npm v6
Hi Armin,
Thank you for reaching out to us.
Could you please specify which Metronic version are you using?
And which Starterkit?
Asp.Net.Core/Blazor/Django/Spring/Nodejs/Laravel/Symfony/Flask/Rails
We had a problem with Webpack script in Metronic older version, can you try to build assets with gulp task using command gulp --demo1
?
Regards,
Lauris Stepanovs,
Keenthemes Support Team
I do have the exact same issue, I'm using Asp.Net.Core, if I use gulp --demo1 works but with --demo30 some visual content doesn't load pretty well, so I tried with webpack (removing the "type": "module" line following the documentation):npm run build --demo30
> keenthemes@1.0.0 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.
I have same issue.
node version 20.6.1
npm version 10.1.0