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

Error metronic 8.1.5


I have the following problem following (https://preview.keenthemes.com/metronic8/laravel/documentation/getting-started/build?demo=demo1)

when executing the command 'npm run dev',

it is already mounted in ubuntu




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 '/var/www/velymanualidades.com.mx/resources/assets/core/plugins'
at finishWithoutResolve (/var/www/velymanualidades.com.mx/node_modules/enhanced-resolve/lib/Resolver.js:309:18)
at /var/www/velymanualidades.com.mx/node_modules/enhanced-resolve/lib/Resolver.js:386:15
at /var/www/velymanualidades.com.mx/node_modules/enhanced-resolve/lib/Resolver.js:435:5
at eval (eval at create (/var/www/velymanualidades.com.mx/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
at /var/www/velymanualidades.com.mx/node_modules/enhanced-resolve/lib/Resolver.js:435:5
at eval (eval at create (/var/www/velymanualidades.com.mx/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
at /var/www/velymanualidades.com.mx/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:87:43
at /var/www/velymanualidades.com.mx/node_modules/enhanced-resolve/lib/Resolver.js:435:5
at eval (eval at create (/var/www/velymanualidades.com.mx/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at /var/www/velymanualidades.com.mx/node_modules/enhanced-resolve/lib/Resolver.js:435:5
at processResult (/var/www/velymanualidades.com.mx/node_modules/webpack/lib/NormalModule.js:758:19)
at /var/www/velymanualidades.com.mx/node_modules/webpack/lib/NormalModule.js:860:5
at /var/www/velymanualidades.com.mx/node_modules/loader-runner/lib/LoaderRunner.js:400:11
at /var/www/velymanualidades.com.mx/node_modules/loader-runner/lib/LoaderRunner.js:252:18
at context.callback (/var/www/velymanualidades.com.mx/node_modules/loader-runner/lib/LoaderRunner.js:124:13)
at Object.loader (/var/www/velymanualidades.com.mx/node_modules/css-loader/dist/index.js:155:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

webpack compiled with 2 errors


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


Hi,

Can you try to remove yarn.lock and then retry?

Thanks



The issue could be from the 3rd party plugin.

Please try to change tagify in package.json to


"@yaireo/tagify": "4.16.4",


https://github.com/yairEO/tagify/issues/461

Thanks



I keep getting the same error



Hi Jesus,

Could you please try to remove the node_modules folder? Then use yarn to install instead of using npm. Use below commands.


npm i -g yarn
yarn
npm run dev


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