0

I've got problem with laravel webpack. It was working without problems, since today:

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.

I reloaded configruation to default, but it isn't work.

Thanks!

1
  • Could you please show us your webpack.mix.js Commented Jun 20, 2018 at 20:06

1 Answer 1

1

It's possible that you are using creative.js twice as entry point.

Sign up to request clarification or add additional context in comments.

1 Comment

Yeah... it's wieird, I've got copy of every line in mix file. Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.