Using metronic asp.net code v8.2.1 trying to build the assets using npm run build --demo1 and get the following error:
[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.
What am i missing/do i need to change?
Thanks
Here's what you can do:
Hi,
Could you please try this workaround?
1. Visit this link: https://gist.github.com/KeenthemesHub/9bb8c1cb3e111adca7bd6df1b4272e20#file-webpack-config-js-L114-L116
2. In your `webpack.config.js` file, locate lines 114 to 116.
3. Replace these lines with the content provided in the link.
After making the change, try running the build command again:
npm run build
Sorry it's taken me a while to get on to this but we downloaded again from the link below, and unfortunately we get exactly the same error as above when running the same command. Anything else we can do? Any further help you can provide?
Thanks
Hi,
I apologize for the inconvenience you've experienced. To address this, we have made a silent update to the zip file, and all critical issues have been resolved. Please try re-downloading the package using the following link:
https://devs.keenthemes.com/metronic/asp.net-core
If you have any further questions or encounter any issues, please don't hesitate to reach out. Your feedback is valuable, and we're here to assist you. Thank you for your understanding.
Regards,
Lauris Stepanovs,
Keenthemes Support Team