Skip to content

Instantly share code, notes, and snippets.

@darrensapalo
Created December 7, 2017 03:23
Show Gist options
  • Save darrensapalo/d6ced9ac51d948ddcfbc014b8ec33e1c to your computer and use it in GitHub Desktop.
Save darrensapalo/d6ced9ac51d948ddcfbc014b8ec33e1c to your computer and use it in GitHub Desktop.
Hot Module Replacement for Vue.js and Express

Notes on _cluster2.setupMaster is not a function issue.

I encountered this same problem.

My stack is: Vue.js (2.5.0), Express (4.16.2). Following this tutorial for React + Node.js, I was trying to do the same but for vuejs.

Changes to the file server were detected by the client process; webpack was able to compile it properly, but the server runs into this problem after running the two processes in parallel.

_cluster2.default.setupMaster is not a function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment