I’m working through this course on udemy, and things are working quite well till I hit section19:162 The Webpack Dev Server. First, localhost:8080 isn’t working (ERR_CONNECTION_RESET). Next, when I bypass this by going to 127.0.0.1:8080, the page loads, but spits out this error in the console:
VM6:1 GET http://localhost:8080/sockjs-node/info?t=1585705664586 net::ERR_CONNECTION_RESET
This error repeats periodically with the ‘time’ tag updating (naturally). Refreshing the page locks it up where I have to close the tab and try again. I’m green enough to not know what’s going on. Here’s the installed list of dependencies:
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"babel-loader": "^8.0.5",
"css-loader": "^3.4.2",
"style-loader": "^1.1.3",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1"
}
This list is straight from the course instructor’s git repo (video 167 adds the css-loader and style-loader entries). Lots more info to be had, but before I spew all that here, anything obvious stand out?
Thanks!