Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • 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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(