Metronic Vuejs npm install 8.1.5 not working

npm ERR! While resolving: demo8@8.1.5
npm ERR! Found: @popperjs/core@2.11.5
npm ERR! node_modules/@popperjs/core
npm ERR! @popperjs/core@"2.11.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @popperjs/core@"^2.11.6" from bootstrap@5.2.2
npm ERR! node_modules/bootstrap
npm ERR! bootstrap@"5.2.2" from the root project
npm ERR!

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

Hi Hosam,

Thank you for contacting our support.

Could you please specify which node and npm versions are you using?

Regards,
Lauris Stepanovs,
Keenthemes Support Team

node version 16.17.0
npm version 8.17.0

Hi,

I am using the same node and npm versions.

Try to delete node_modules, yarn.lock, package-lock.json then run npm install or yarn command again.

Regards,
Lauris Stepanovs,
Keenthemes Support Team

I have exactly the same problem with the .NET solution (https://preview.keenthemes.com/asp.net-core/metronic/docs/getting-started). I'm using npm 8.19.2 and node 16.18.0.

I can't delete the node_modules, yarn.lock, package-lock.json files because I don't have them since I never built the project before.

What else could I try? Thank you!

I have the same issue trying to build Demo 1 /Vue. I have never built the project, but get the same error.

Node v16.18.0
npm 8.19.2

I have the same issue
npm 8.19.2
node 18.12.0

i have same error

npm install --force fixed the issue for me

This Worked me fine.. Thanks

Changing dependency from

"@popperjs/core": "2.11.5",

to

"@popperjs/core": "^2.11.5",

fixes the issue.

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