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

Metronic Rails Startekit v8.1.8 Demo1

Hello, I'm having an issue when running npm run build or npm run build --demo1:

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'm using the metronic_rails_v8.1.8_demo1 starter kit and when I run npm run build --demo1, Mac Os Ventura, Node 20.4.0.

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


Hi,

Sorry for the inconvenience. Here is the workaround. Please check this link

https://gist.github.com/KeenthemesHub/990c43c47a4469df1858709f7b8e4b6c

Copy the webpack.config.js content in your //rails_demo1/starterkit/_keenthemes/tools/webpack.config.js file.

We will update in the next release soon.

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