Laravel Mix with HMR

Published 1 year ago by nate.a.johnson

I am getting this error:

Cannot use [chunkhash] for chunk in '/js/[name].[chunkhash].js' (use [hash] instead)

I am just using Mix vanilla out of the box, so I'm not sure what is going on. Anyone else seeing this?


Well, this appears to work as long as you don't tell mix to version your files.


I'm having the same issue here.


Yep, me too. I must say, I am disappointed in Laravel Mix. If I was building SPA's then I could see the benefits. However, since day 1 I have been running into issues with it and it doesn't live reload php. It just seems like we've taken a step back on this one, which is out of the ordinary for anything Laravel.

Please sign in or create an account to participate in this conversation.