__webpack.hmr Error 404 not found

I am getting an error after setting up Sage locally:

Anyone came across this error before? New to these types of ecosystems, not sure where to look :slight_smile:

Can you provide some additional context? i.e.:

  • Describe the steps taken to get here (i.e. changes you made to the repo; yarn/npm commands run, etc).
  • What URL are you accessing the local site at?
  • What does the rest of your development environment look like?

I had a lot of issues installing Sage with Tailwind in the first place, got a lot of dependency errors. Found a lot of other users with similar issues with v9.0.10. Came across the following repo:

This solved all my issues. I installed this way:

  • Local environment runs with XAMPP
  • Installed WP
  • Installed Composer, Node.js and Yarn
  • Went through the steps explained here (knowler): Using Tailwind CSS with Sage 9 + Webpack
  • Ran yarn && yarn build and then yarn start

Hope this helps!

Also try out the Sage “9.2” branch which can be used with composer-create:

e class='quote' data-post="1" data-topic="20067">
Note: Changed Sage 9.2 to 9.1 (as 9.0.10 is the current release in master). Updated Sage 9.x You can now try out the Sage PR branch for webpack 5 and updated dependencies. The sage-installer which is used by Sage 9.x for adding framework support was also updated to add the right configuration and styles. Bootstrap 5 (Beta2) has been added for selection. Tailwind 2 is used now. Trying it out now! To prevent siloing of existing working forks of Sage 9 + (insert framework), please try this set…

This topic was automatically closed after 42 days. New replies are no longer allowed.