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!
The issue could be from @yaireo/tagify.
Please try to change tagify version in package.json to
"@yaireo/tagify": "4.16.4",
Hi,
Do you have any modifications to any files? We need to know as well. Please send your Laravel package zip via google drive. We will check it from our side.
Thanks
It does not have any modifications, it continues as it downloads from its servers
Hi,
Could you please try to remove the node_modules folder, yarn.lock, package-lock.json file (if any)? And retry with the install using yarn.
Thanks
I already tried it that way and it's still the same
Hi,
Could you please try to use "yarn"? Install yarn if you don't have it. Please use the below commands.
npm install --global yarn
yarn
I keep getting the same error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: bootstrap@5.2.2
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!
npm ERR! Conflicting peer dependency: @popperjs/core@2.11.6
npm ERR! node_modules/@popperjs/core
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!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Omar\AppData\Local\npm-cache\eresolve-report.txt for a full report.
Hi Faizal,
I have the same problem with NPM.
Just downloaded Metronic from the website and followed the documentation.
In looks like Yarn is working for me.
I follow this process or which one does it refer to when it says with yarn
https://preview.keenthemes.com/metronic8/laravel/documentation/getting-started/build
Hi,
Please use the below commands for the yarn installation.
npm install --global yarn
yarn
Hi Faizal,
Even with Yarn it trows errors on "npm run prod"
ERROR in ./resources/assets/core/plugins/plugins.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error: Can"t resolve "~@yaireo/tagify/dist/tagify.css" in "C:\Users\**\PHPStormProjects\**\resources\assets\core\plugins"
My problem has been solved.
Changed tagify in package.json to
"@yaireo/tagify": "4.16.4",
it doesn't work it's still the same
npm install --global yarn
yarn