Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Erro metronic 8.0.38


When using the following command

npm run dev
, it marks the following


[webpack-cli] Error: Cannot find module "del"
Require stack:
- C:\xampp\htdocs\yoloticket2\webpack.mix.js
- C:\xampp\htdocs\yoloticket2\node_modules\laravel-mix\setup\webpack.config.js
- C:\xampp\htdocs\yoloticket2\node_modules\webpack-cli\lib\webpack-cli.js
- C:\xampp\htdocs\yoloticket2\node_modules\webpack-cli\lib\bootstrap.js
- C:\xampp\htdocs\yoloticket2\node_modules\webpack-cli\bin\cli.js
- C:\xampp\htdocs\yoloticket2\node_modules\webpack\bin\webpack.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\xampp\htdocs\yoloticket2\webpack.mix.js:7:13)
at Module._compile (node:internal/modules/cjs/loader:1095:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1147:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19) {
code: "MODULE_NOT_FOUND",
requireStack: [
"C:\\xampp\\htdocs\\yoloticket2\\webpack.mix.js",
"C:\\xampp\\htdocs\\yoloticket2\\node_modules\\laravel-mix\\setup\\webpack.config.js",
"C:\\xampp\\htdocs\\yoloticket2\\node_modules\\webpack-cli\\lib\\webpack-cli.js",
"C:\\xampp\\htdocs\\yoloticket2\\node_modules\\webpack-cli\\lib\\bootstrap.js",
"C:\\xampp\\htdocs\\yoloticket2\\node_modules\\webpack-cli\\bin\\cli.js",
"C:\\xampp\\htdocs\\yoloticket2\\node_modules\\webpack\\bin\\webpack.js"
]
}


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

Could you please try to reinstall the node packages? Please run this command.


yarn install


Thanks



It doesn't work

I follow these steps after downloading, to compile

https://preview.keenthemes.com/metronic8/laravel/documentation/getting-started/build



Hi,

Could you please do this workaround?


yarn add --dev del


Then please retry with the rest of the installation. We will fix it in the next updates.

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(