Level 102
Did you try googling the error? This was the first hit on google.
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello Everyone,
I have tried to install the new Laravel project with Laravel UI with Vue scaffolding.
But when I try to compile I get errors.
composer create-project laravel/laravel new-vue-project
composer require laravel/ui
php artisan ui vue --auth
yarn
yarn add vue-loader
yarn dev
@ development C:\xampp\htdocs\all-testing-repos\vuetify-laravel
> mix
[webpack-cli] Error: Cannot find module 'webpack/lib/rules/DescriptionDataMatcherRulePlugin'
Require stack:
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\vue-loader\lib\plugin-webpack5.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\vue-loader\lib\plugin.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\vue-loader\lib\index.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\laravel-mix\src\components\Vue.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\laravel-mix\src\components\ComponentRegistrar.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\laravel-mix\src\Mix.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\laravel-mix\setup\webpack.config.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\webpack-cli\lib\webpack-cli.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\webpack-cli\lib\bootstrap.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\webpack-cli\bin\cli.js
- C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\webpack\bin\webpack.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at Object.<anonymous> (C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\vue-loader\lib\plugin-webpack5.js:6:42)
at Module._compile (C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\vue-loader\lib\plugin-webpack5.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\vue-loader\lib\plugin.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\vue-loader\lib\index.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\laravel-mix\src\components\Vue.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\laravel-mix\src\components\ComponentRegistrar.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\laravel-mix\src\Mix.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\laravel-mix\setup\webpack.config.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\webpack-cli\lib\webpack-cli.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\webpack-cli\lib\bootstrap.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\webpack-cli\bin\cli.js',
'C:\xampp\htdocs\all-testing-repos\vuetify-laravel\node_modules\webpack\bin\webpack.js'
]
}
I am using windows 10 with xampp server.
I am unable to solve this. Please help me to solve this.
Did you try googling the error? This was the first hit on google.
Please or to participate in this conversation.