Medtronic spring does not work .
Hi,
I am following the instructions and I am getting following errors
When I run nom run build
ERROR in ./webpack/plugins/plugins.js 101:17-71
Module not found: Error: Can't resolve 'countup.js/dist/countUp.withPolyfill.min.js' in '/Users/***/dev/metronic-spring/starterkit/_keenthemes/tools/webpack/plugins'
ERROR in js/scripts.bundle
Module not found: Error: Can't resolve './webpack/scripts.js' in '/Users/***/dev/metronic-spring/starterkit/_keenthemes/tools'
Hi,
I apologize for the inconvenience you're experiencing with the error during the build process. We are working on a solution to include in the next update of the theme.
It appears that the error is related to the countup.js plugin and its compatibility with the build process. To resolve this issue, you can try the following workaround:
1. Locate the file asp.net-core/Starterkit/_keenthemes/tools/package.json
in your project directory.
2. Open the package.json
file in a text editor.
3. Look for the line that specifies the version of countup.js, which should be something like "countup.js": "^2.0.7",
.
4. Modify the line to set the countup.js version to "2.0.7"
without the caret (^) symbol. The updated line should look like "countup.js": "2.0.7",
.
5. Save the changes to the package.json
file.
By specifying the exact version without the caret symbol (^), you ensure that the build process uses the specified version of countup.js, which may resolve the issue.
After making this change, try running the npm run build
command again to bundle the theme assets. Hopefully, this workaround will resolve the error you encountered.
If the issue persists or you need further assistance, please provide more information about your project setup, such as the version of Metronic you are using and any relevant configuration files.
Thanks