bug y同学 2019-08-20 281 阅读1分钟 npm安装依赖时报: Class constructor FileManager cannot be invoked without 'new' 原因是因为依赖版本更新了,不兼容低版本,锁定版本就可以了,去掉依赖前面的^括号或者~号