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'
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