Skip to content

Production build errors out: Uncaught Error: [HMR] Hot Module Replacement is disabled. #52

Open
@amite

Description

@amite

I am working on Challenge One Solution from the FEM course and am trying to run the production build but the commands shown seem to have changed. The run script is no longer valid as indicated by the message.

So when I run a production build with npm run build:prod

And then try to serve it with serve dist/ -T, the server starts up on https://localhost:5000 but the build does not run.

Instead, I get the error: Uncaught Error: [HMR] Hot Module Replacement is disabled.

Here is what my browser console looks like:

screen shot 2017-12-27 at 5 28 21 pm

Do I need to disable module hot reloading somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions