webpack-dev-server can't find localhost

后端 未结 7 1005
刺人心
刺人心 2020-12-19 01:39

I\'m trying to get started with React using webpack, but keep running into an error when I try to set up webpack-dev-server

7条回答
  •  自闭症患者
    2020-12-19 01:52

    In latest mac and linux os , the webpack dev server wokinnly only on adding the

    host: "127.0.0.1"
    

    inside the devServer in the webpack.config

提交回复
热议问题