-
Notifications
You must be signed in to change notification settings - Fork 26
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
Extension problem (and suggested solution) #70
Comments
feesh
added a commit
to feesh/lightbox
that referenced
this issue
Jan 30, 2017
@ezequieltejada Not working for me. Js compiled, no error in console in build time but JS not compiled properly. |
I have the same problem: [02:22:03] Finished 'copy-modules' after 60 ms
events.js:160
throw er; // Unhandled 'error' event
^
Error
at new JS_Parse_Error (eval at <anonymous> (/var/jenkins_home/workspace/alidw-fe-ccms/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1534:18)
at js_error (eval at <anonymous> (/var/jenkins_home/workspace/alidw-fe-ccms/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1542:11)
at parse_error (eval at <anonymous> (/var/jenkins_home/workspace/alidw-fe-ccms/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1667:9) |
I found the reason: I use some es6 syntax, the uglify-js can not support it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello guys,
I came across with this problem, when I tried to run the HTML task...
... I got this error:
and it's kind of weird, because it seems that "main.css" is getting through uglify even though the extension IS NOT ".js". So I changed the lines to
and seems to be working fine.
I couldn't find the solution anywhere, so I hope this could be useful for anybody.
The text was updated successfully, but these errors were encountered: