Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Error on build of assets for demo1


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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)

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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(