Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Spring setup


Hi i am trying to setup metronics for Spring,

I have done the below step ->

1) Start your command line interface and change directory to starterkit/_keenthemes/tools.
cd Starterkit/_keenthemes/tools

2) Install dependencies with either one, yarn or npm.
I have used npm -

npm install

Afterwards being on same directory i.e. starterkit/_keenthemes/tools -> I ran command npm run build by removing type: module

the output was ->

> keenthemes@1.0.0 build
> webpack

Source: C:/Users/piyus/Videos/metronic_spring_v8.2.0_demo1/spring_demo1/themes/npm_version/html/src
Output: C:/Users/piyus/Videos/metronic_spring_v8.2.0_demo1/spring_demo1/themes/npm_version/html/dist/assets
[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.

And there was no folder with -> Starterkit/wwwroot/assets

Do let me know what i have done wrong. Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


It seems that the error you're encountering is related to an invalid Webpack configuration, specifically with the entry property in your webpack.config.js. The error message suggests that the strands hints entry should be a non-empty array, but it isn't properly defined.

To fix this:

Check your webpack.config.js for the entry field and make sure that js/widgets.bundle is properly defined as an array, for example:

entry: {
'js/widgets.bundle': ['./src/js/widgets.js']
}
Ensure that all required files are present in the src/js/ directory, as this might be causing the missing bundle.

>
Additionally,Double-check your Webpack setup and file paths to ensure they align correctly with the Metronic Spring starter kit requirements, as mismatched configurations can lead to these errors.

Hi,

I want to apologize for the late reply.

This error should already be fixed in the latest Metronic v8.2.7, you can download it from Metronic Downloads page.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(