Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

laravel-mix error


I downloaded metronic_laravel_v8.2.5.zip
followed the instructions in https://preview.keenthemes.com/metronic8/laravel/documentation/getting-started/build

It says [webpack-cli][Error: ENOENT: no such file or directory .../metronic_laravel_v8.2.5/starterkit/node_modules/@yaireo/tagify/dist/tagify.min.js etc.


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


Hi Bunyamin Mercan

The issue arises because tagify.min.js is no longer available after version 3.19.
You can try to downgrade yaireo/tagify.


npm install @yaireo/tagify@3.19.3



Another solution:

Alternatively, you can modify the path in your resources/mix/plugins.js file to use the non-minified version of the Tagify library.

By making this change, you can continue to use the latest version of @yaireo/tagify (e.g., "^4.22.2") without downgrading.


Open resources/mix/plugins.js.


Replace the line:


"node_modules/@yaireo/tagify/dist/tagify.min.js",


with:


"node_modules/@yaireo/tagify/dist/tagify.js",


Recompile your assets:


npm run dev


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