运行npm run dev 时  虽然项目可以正常启动。但是报了一条提醒  如下:

 

{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }

 

{ parser: "babylon" } 已被弃用;我们现在将其视为{ parser: "babel" }

解决方法:

找项目目录的\node_modules\vue-loader\lib\template-compiler\index.js

{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }

 将其改为bable

 

重新运行运行项目  可解决。

相关文章:

  • 2022-12-23
  • 2022-01-29
  • 2022-12-23
  • 2021-11-28
  • 2021-11-19
  • 2021-08-14
  • 2021-12-16
  • 2021-07-26
猜你喜欢
  • 2022-02-13
  • 2022-01-18
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2022-01-11
相关资源
相似解决方案