This is my production webpack config. The two quotes in the title refer to webpack2 and webpack respectively. Both hang for me with a similar error.
This is my command t
In my case (Windows environment and laravel-mix) there weren't any incorrect characters in the path, since even a dead simple configuration didn't work. It was just webpack (webpack@3.12.0) doing something stupid of his own and the problem has been solved using publicPath
option like this:
mix.options({
publicPath: ('./')
});
which according to the documentation:
allows you to specify the base path for all the assets within your application
Alternatively you can use:
mix.setPublicPath('./');