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

Install Laravel Metronic 8


Hello everyone, I'm new, I bought metronic in themeforest a long time ago and now I'm trying to use it in Laravel and this is what I do, I'm new, I apologize and excuse me, put my English
1º- I download the product and unzip it then I pass it to my Laragon folder I use win11
2º- I have composer latest version and nodejs 15 along with php 8.0.20
next steps

from vcode in terminal
1º- composer install
2º- cp .env.example .env
3º-php artisan key:generate
4º-php artisan migrate
5º- npm install

This is where I get this error and I can't fix it can you help me thanks

139 packages are looking for funding
run `npm fund` for details

22 vulnerabilities (12 moderate, 8 high, 2 critical)

To address issues that do not require attention, run:
npm audit fix

To address all issues possible (including breaking changes), run:
npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

----------------------------------------------
Also if I continue with npm run dev I get this error

[webpack-cli] Error: Cannot find module 'del'
Require stack:
- C:\laragon\www\laravel\webpack.mix.js
- C:\laragon\www\laravel\node_modules\laravel-mix\setup\webpack.config.js
- C:\laragon\www\laravel\node_modules\webpack-cli\lib\webpack-cli.js
- C:\laragon\www\laravel\node_modules\webpack-cli\lib\bootstrap.js
- C:\laragon\www\laravel\node_modules\webpack-cli\bin\cli.js
- C:\laragon\www\laravel\node_modules\webpack\bin\webpack.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (C:\laragon\www\laravel\webpack.mix.js:7:13)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\laragon\\www\\laravel\\webpack.mix.js',
'C:\\laragon\\www\\laravel\\node_modules\\laravel-mix\\setup\\webpack.config.js',
'C:\\laragon\\www\\laravel\\node_modules\\webpack-cli\\lib\\webpack-cli.js',
'C:\\laragon\\www\\laravel\\node_modules\\webpack-cli\\lib\\bootstrap.js',
'C:\\laragon\\www\\laravel\\node_modules\\webpack-cli\\bin\\cli.js',
'C:\\laragon\\www\\laravel\\node_modules\\webpack\\bin\\webpack.js'


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 Angel,

This is a known issue. We will include the fix in the next update soon. We have a quick fix for this issue.

https://devs.keenthemes.com/question/metronic-laravel-error-cannot-find-module-del-solution

Thank you


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