node -v): 6.4.0npm -v): 4.4.1Just tried running 'hot'. It complains about [chunkhash]:
Cannot use [chunkhash] for chunk in '[name].[chunkhash].js' (use [hash] instead)
npm run hot
replace [chunkhash] with [hash] I guess.
Changing chunkhash with hash still does not fix the issue, because after that navigating to localhost:8080 does not open any laravel route, it's just saying it could not find /
I had the same problem but little google solved my issue:
if (mix.config.inProduction) {
mix.version();
}
having the same issue, neither of the above solutions works, still getting
ERROR Failed to compile with 2 errors 12:10:04 PM
error in [name].[chunkhash].js
Cannot use [chunkhash] for chunk in '[name].[chunkhash].js' (use [hash] instead)
error in [name].[chunkhash].js
Cannot use [chunkhash] for chunk in '[name].[chunkhash].js' (use [hash] instead)
laravel-mix: ^0.11.4
node: v8.1.4
npm: 5.3.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
I had the same problem but little google solved my issue: