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

metronic spring foes not build


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'


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


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


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