webpack学习功能测试中,遇到安装webpack-dev-server 后执行的问题

都是安装在开发环境

执行npm run dev 报错了

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

 

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

看到网上很多解决方式

最后是版本问题

设置如下npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

 config配置如下

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

 如果本地有其他程序在执行,最好port端口自己重置一个

执行成功 npm run dev

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

 

浏览器输入http://localhost:8090/ 查看效果

 

相关文章:

  • 2021-12-05
  • 2021-10-10
  • 2022-12-23
  • 2021-08-06
  • 2021-05-14
  • 2021-04-07
猜你喜欢
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
相关资源
相似解决方案