Class constructor FileManager cannot be invoked without 'new'.
See original GitHub issueIt seems that v3.10.0 breaks my build, webpack logs below:
ERROR in ./src/pages/score/components/current/no-join/index.less
Module build failed (from ./node_modules/_mini-css-extract-plugin@0.5.0@mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/_less-loader@4.1.0@less-loader/dist/cjs.js):
Class constructor FileManager cannot be invoked without 'new'
in undefined (line undefined, column undefined)
at runLoaders (/home/admin/build/node_modules/_webpack@4.39.2@webpack/lib/NormalModule.js:313:20)
at /home/admin/build/node_modules/_loader-runner@2.4.0@loader-runner/lib/LoaderRunner.js:367:11
at /home/admin/build/node_modules/_loader-runner@2.4.0@loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/home/admin/build/node_modules/_loader-runner@2.4.0@loader-runner/lib/LoaderRunner.js:111:13)
Everything is ok when downgrade to v3.9.0, please investigate this issue and hope to fix it as soon as possible.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:52
- Comments:64 (7 by maintainers)
Top Results From Across the Web
Class constructor cannot be invoked without 'new' for TSdx ...
I created a npm package using TSdx for a small Jest reporter. If I use that package in another project, I get the...
Read more >Class constructor FileManager cannot be invoked without 'new'
欢迎访问我的个人博客:http://www.xiaolongwu.cnwebpack打包时出现以下问题ERROR in ./src/pages/score/components/current/no-join/index.
Read more >Class constructor FileManager cannot be invoked without 'new'
bug:今天项目重新安装依赖打包的时候出现错误:Class constructor FileManager cannot be invoked without 'new' 解决:尝试了.
Read more >Class constructor Class cannot be invoked without 'new'
I'm getting the following error in the console of the browser, when trying to access my route “login”: Uncaught (in promise) TypeError: ...
Read more >Class constructor FileManager cannot be invoked without 'new'
Class constructor FileManager cannot be invoked without 'new' ... 当前版本的在git上更新运行没有问题,当重新下载项目运行时出现这个错误请问是什么 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem,you mast change you ‘package.json’ => “less”: “~3.9.0”, limit version
可以把package.json中 less版本的 ^ 去掉 重新安装一下 v3.9.0 应该就可以解决问题 大家可以试一下
虽然 锁定了版本 但是由于 ^, 所以会下载3 一下的最新版本, 最新版本应该是有问题的。