-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class constructor FileManager cannot be invoked without 'new'. #3414
Comments
I have the same problem,you mast change you 'package.json' => "less": "~3.9.0", limit version |
+1 |
1 similar comment
+1 |
+1! |
+1 |
same problem |
+1 version less 3.9.0 less-loader 4.1.0 |
可以把package.json中 less版本的 ^ 去掉 重新安装一下 v3.9.0 应该就可以解决问题 大家可以试一下 |
+1 |
1 similar comment
+1 |
这个类似代码引起的? |
omg, i limited the version to 3.9.0,works. |
Same here. npm picks up this "minor" release automatically, and breaks all of my builds. :( |
+1 |
v3.10.0 same error |
+1 |
hurry |
+1 |
just use less-loader@5.0.0 every thing will be ok |
@lixiaohulee unless you're not using less-loader and everything will not be ok |
+1 |
* 🐛 Fix Cascader notFoundContent width close #18176 * 🔒 lock less to 3.9.0 less/less.js#3416 less/less.js#3414
+1 |
I have the same problem ((( |
+1 |
i have the same problem :/ |
This is an issue with an older version of |
Can someone try: #3421? Branch is at: https://github.com/matthew-dean/less.js/tree/release/v3.10.2 The challenge in testing this is that In any case, if people can confirm that this branch as a Less dependency doesn't cause the class issue, then I'll merge it in. |
+1 version less 3.9.0 less-loader 4.1.0 |
+1 |
1 similar comment
+1 |
Manually specify less version : |
Fix by downgrade to 3.9.0 |
Just before, I delete the node_modules and type |
How would I fix this bug if I am using @zeit/next-less? Any help appreciated. |
|
With less@3.10+, our less files won't compile using less-loader. Known issue: less/less.js#3414
https://forum.vuejs.org/t/vue-cli/72008/7 |
Merged: #3421
I merged that possible fix into master (but not yet released to NPM). Still would love for someone to confirm before releasing instead of the +1's. |
I can confirm I just tried the current master branch of less locally with less-loader ^4.1.0, and my project is able to build again. 👍 |
Thanks for your work on this! |
@jenniferneale Thanks for confirming! I'll publish to NPM later today then, can't do it from work. |
+1 |
Is this issue fixed with 3.10.3? |
@h4ngman Should be. Re-open if not. |
It seems that v3.10.0 breaks my build, webpack logs below:
Everything is ok when downgrade to v3.9.0, please investigate this issue and hope to fix it as soon as possible.
The text was updated successfully, but these errors were encountered: