![](/img/trans.png)
[英]Laravel 8 Vue 3 - Npm run hot (mix watch --hot) throwing error,possible webpack issue
[英]Laravel Webpack error on npm run watch
我对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.
我将配置重新加载为默认设置,但是它不起作用。
谢谢!
您有可能两次使用creative.js
作为入口点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.