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
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.
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