laravel webpack出现问题。从今天开始,它一直没有问题地工作:
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:
object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function
-> The entry point(s) of the compilation.
Details:
* configuration.entry['/js/creative'] should be a string.
-> The string is resolved to a module which is loaded upon startup.
* configuration.entry['/js/creative'] should not contain the item 'C:\xampp\htdocs\petsland2\resources\assets\js\creative.js' 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]
* 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.
我将配置重新加载为默认配置,但这是行不通的。
谢谢!
答案 0 :(得分:1)
您可能两次使用creative.js
作为入口点。