bug:今天项目重新安装依赖打包的时候出现错误:
Class constructor FileManager cannot be invoked without 'new'

解决:尝试了很多种解决方案,锁定有效解决方案
1. 修改package.json 里面的:"less": "^3.9.0"为"less": "~3.9.0"

2. 删除node_modules,然后重新安装打包,成功打包

相关文章:

  • 2021-12-07
  • 2021-05-26
  • 2021-04-17
  • 2022-12-23
  • 2022-01-13
  • 2021-06-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-18
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-08-07
  • 2022-01-19
相关资源
相似解决方案