Skip to content

HMR not working #7310

@boaz-hwang

Description

@boaz-hwang

Bug report

HMR doesn't work.

Describe the bug

I followed your Learn course in nextjs.org. HMR doesn't work at all.

package.json
{
"name": "hello-next",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"dev": "next"
},
"dependencies": {
"next": "^8.1.0",
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
}

To Reproduce

just followed Learn course. All I did was just install react, react-dom, next packages, then made ./pages/index.js

System information

  • OS: [WSL(bash)]
  • Browser (if applies) [chrome]
  • Version of Next.js: [e.g. 8.1.0]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions