initially compiled successfully using webpack-dev-server, but accessing localhost reported an error 502.
remove node_modules, reinstall, build, still can"t open localhost.
feels that it is not a matter of webpack-dev-server. Try express,http-server, and the result is:
All thecommand lines show that they are running normally, but they just can"t call to access localhost.
have you ever met a boss?