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

NPM install demo1 fails


NPM install demo1 fails with error message cannot find "/.v4". How do I fix this? Using the aspnet core starterkit


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


Hi,

Have you got a chance to try the workaround we provided or download the latest version ? Please let us know if you need any further help.

Regards.



As a workaround to fix the issue, you need to locate and edit the following file in your project: /metronic_asp.net-core_v8.1.8/Starterkit/_keenthemes/tools/webpack/plugins/plugins.js

Inside the plugins.js file, find the line that reads:


window.countUp = require("countup.js/dist/countUp.withPolyfill.min.js");

and modify it to:


window.countUp = require("countup.js/dist/countUp.js");

Save the file after making this change. This modification ensures that the correct version of the countUp.js library is used in your project.

After applying this fix, you can rebuild your project using command "npm run build --demo1"

I hope this helps! Let me know if you have any further questions or issues.

Thanks



Hi,

I apologise for the inconvenience you're experiencing with the error during the build process.

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 to download from the following link. We have fixed some issue related to web pack.

https://devs.keenthemes.com/metronic/asp.net-core

Thanks



Hi,

Thank you for your feedback.

No worries, we will do our best to resolve your issue.

May i know which Metronic version, framework (html, react, angular, vue) and build method(gulp, webpack) are you using ?

Have you tried is with the latest Metronic v8.1.8 ?

Regards.



It is v8.1.8, i purchased and attempted to install this morning. Using the aspnet core starterkit using webpack.



Hi,

Noted, we are checking it now and will provide you solution shortly.

Regards.



I just switched to gulp and it installed without errors. Definitely something wrong with WebPack.


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