question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HMR not working after upgrade from 1.7.2 to 2.0.0

See original GitHub issue
  • Laravel Mix Version: 2.0.0
  • Node Version (node -v): v6.9.1
  • NPM Version (npm -v): 5.6.0
  • OS: Windows 10 Pro 64bit

Description:

I recently upgraded from 1.7.2 to 2.0.0 and HMR stopped working. The mix file is the same and when I run ‘npm run hot’ it compiles succesfully. When I open the site the resources seemed to load correctly but there was no HMR message and it was not working. I noticed that the server was serving the files from the /dist folder. I deleted them and now I get 404 Cannot GET /dist/… on every file. So the issues is that the dev server is serving only the local files but I cannot find out why and how to fix it. I tried to delete node_modules and reinstall npm but the issue is still there.

Steps To Reproduce:

upgrade from 1.7.2 to 2.0.0 npm run hot (no HMR)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Manfred047commented, Feb 8, 2018

Same problem with Laravel 5.6 Windows 10 64bit

0reactions
stale[bot]commented, Dec 4, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HMR not working after upgrade from 1.7.2 to 2.0.0 · Issue #1454
I recently upgraded from 1.7.2 to 2.0.0 and HMR stopped working. The mix file is the same and when I run 'npm run...
Read more >
Update your security processor (TPM) firmware
Under Security processor, select Security processor details. Select Security processor troubleshooting, and then under Clear TPM, select Clear TPM.
Read more >
ERROR in The given rootPath undefined is not a file of the ...
I just delete the node_module folder and run npm install again. Its works for me.
Read more >
Changelog | Meteor API Docs
Fix issues with HMR and meteor build --debug PR. webapp@1.13.1 ... Update usage of accounts-passwordless to be compatible with 2.0.0. minifier-js@2.7.3.
Read more >
Open Source Used In dna-core-apps Magneto - Cisco
This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found