Module Build Failed: Missing closing ')'
theshapguy opened this issue ยท 9 comments
When I import semantic-ui-less in my Vue Project, everything is setup. Getting this error.
Module build failed:
;(function ($, window, document, undefined) {
^
Missing closing ')'
in /Users/Developer/ui/node_modules/semantic-ui-less/definitions/modules/transition.js (line 11, column 44)
Experienced the same. Appeared after upgrading less
dependency from v3.0.0-alpha.3
to v3.0.1
. Perhaps some syntax errors present here that are no longer allowed?
semantic-ui-less@v2.2.14
with less@v3.0.0-alpha.3
works fine
semantic-ui-less@v2.2.14
with less@v3.0.1
produce this error
Same here, I just checked with less@2.7.3 and it worked.
I have the same issue.
It seems that in my case, less tries to load *.js-files instead of *.less-files (?!):
-> semantic.less imports all files without extension.
After adding the extensions, it worked.
EDIT: perfect time for #33
same here
Same here. Still nothing happened? Is there a solution?
same here
"less": "^3.0.1",
"semantic-ui-less": "^2.3.1",
It has been fixed now: #30 (comment)
As said in that comment, you have to convert imports of theme.less
into "multiple" imports: @import "~semantic-ui-less/theme.less";
-> @import (multiple) "~semantic-ui-less/theme.less";
For the record: I'm on "semantic-ui-less": "2.3.2"
now, with "less": "3.0.4"
.
Time to close this now, @theshapguy?