Jump to content

Trouble uglifying


focomoso
 Share

Recommended Posts

Hi,

I forked the main repo and was able to build on one machine, but when I cloned to another machine, I'm getting an error with gulp-uglify:

events.js:161
      throw er; // Unhandled 'error' event
      ^
Error
    at new JS_Parse_Error (eval at <anonymous> (/Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1534:18)
    at js_error (eval at <anonymous> (/Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1542:11)
    at croak (eval at <anonymous> (/Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2089:9)
    at eval (eval at <anonymous> (/Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2239:21)
    at eval (eval at <anonymous> (/Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2136:24)
    at eval (eval at <anonymous> (/Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2904:23)
    at Object.parse (eval at <anonymous> (/Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2915:7)
    at /Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:71:33
    at Array.forEach (native)
    at Object.exports.minify (/Users/jkelly/dev/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/tools/node.js:66:15)

Does anyone have any thoughts on what's going on?

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...