Invalid configuration object
See original GitHub issueUsing master, this:
mix.js('resources/assets/js/web.js', 'public/js')
.js('resources/assets/js/app.js', 'public/js');
Results in:
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.entry['app'] should be one of these:
string | [string]
The entry point for one output file.
- configuration.entry should be one of these:
object { <key>: string | [string] } | string | [string]
The entry point(s) of the compilation.
Is there something I’m doing wrong? Totally new to Webpack.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Invalid configuration object. Webpack has been initialised ...
This error usually happens when you have conflicting version (angular js). So the webpack could not start the application. You can simply fix...
Read more >Invalid configuration object. Webpack has been ... - GitHub
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. #914.
Read more >Webpack has been initialized using a configuration object
Webpack has been initialized using a configuration object. I just install a new laravel ... [webpack-cli] Invalid configuration object. Webpack has been ...
Read more >invalid configuration object. webpack has been initialized ...
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. Invalid configuration object.
Read more >Invalid configuration object. Webpack has been ... - Reddit
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
run:
npm uninstall laravel-mix && npm install --save laravel-mix
I had an issue where it wouldn’t just update.
@tillkruss - Have you updated your webpack.config.js file to the latest version? I’d bet that’s the issue.