想学习一下,在ionic start 新项目后, ionic serve 第一次可以访问是可以的, 可是刷新一下后就报错了,端口也没给占用, 网上找了半天也没找到问题所在,

最后研究了下:

npm install @ionic/app-scripts@latest --save-dev
npm install typescript@latest --save-dev

更新了一下 @ionic/app-scripts、typescript 居然就可以了

 

相关文章:

  • 2021-10-24
  • 2022-12-23
  • 2022-02-07
  • 2021-12-03
  • 2022-01-08
  • 2022-12-23
猜你喜欢
  • 2021-08-26
  • 2022-01-10
  • 2021-12-31
  • 2021-06-26
  • 2021-05-28
  • 2021-11-06
  • 2021-07-18
相关资源
相似解决方案