После обновления моего композитора в laravel (backend) с этой ошибкой я столкнулся.
Я уже пробовал, удалите и переустановите веб-пакет, но он все еще не работает. Я надеюсь, что вы можете помочь мне решить эту проблему. Заранее спасибо.
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.entry should be one of these: function | object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] -> The entry point(s) of the compilation. Details:
* configuration.entry should be an instance of function
-> A Function returning an entry object, an entry string, an entry array or a promise to these things.
* configuration.entry['styles'] should be a string.
-> The string is resolved to a module which is loaded upon startup.
* configuration.entry['styles'] should not contain the item 'C:\xampp\htdocs\PlainTemplate\frontend\node_modules\bootstrap\dist\css\bootstrap.min.css' twice.
* configuration.entry should be a string.
-> An entry point without name. The string is resolved to a module which is loaded upon startup.
* configuration.entry should be an array:
[non-empty string] WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.entry should be one of these: function | object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] -> The entry point(s) of the compilation. Details:
* configuration.entry should be an instance of function
-> A Function returning an entry object, an entry string, an entry array or a promise to these things.
* configuration.entry['styles'] should be a string.
-> The string is resolved to a module which is loaded upon startup.
* configuration.entry['styles'] should not contain the item 'C:\xampp\htdocs\PlainTemplate\frontend\node_modules\bootstrap\dist\css\bootstrap.min.css' twice.
* configuration.entry should be a string.
-> An entry point without name. The string is resolved to a module which is loaded upon startup.
* configuration.entry should be an array:
[non-empty string]
at webpack (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\webpack\lib\webpack.js:31:9)
at Observable.rxjs_1.Observable.obs [as _subscribe] (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\@angular-devkit\build-webpack\src\webpack-dev-server\index.js:37:37)
at Observable._trySubscribe (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\Observable.js:44:25)
at Observable.subscribe (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\Observable.js:30:22)
at C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\util\subscribeTo.js:22:31
at Object.subscribeToResult (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\util\subscribeToResult.js:10:45)
at MergeMapSubscriber._innerSub (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\operators\mergeMap.js:82:29)
at MergeMapSubscriber._tryNext (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\operators\mergeMap.js:76:14)
at MergeMapSubscriber._next (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\operators\mergeMap.js:59:18)
at MergeMapSubscriber.Subscriber.next (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\Subscriber.js:67:18)
at TapSubscriber._next (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\operators\tap.js:65:26)
at TapSubscriber.Subscriber.next (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\Subscriber.js:67:18)
at MergeMapSubscriber.notifyNext (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\operators\mergeMap.js:92:26)
at InnerSubscriber._next (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
at InnerSubscriber.Subscriber.next (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\Subscriber.js:67:18)
at ForkJoinSubscriber.notifyComplete (C:\xampp\htdocs\PlainTemplate\frontend\node_modules\rxjs\internal\observable\forkJoin.js:82:25)
![image 1](https://i.stack.imgur.com/9FVa3.png)