Git Product home page Git Product logo

Comments (11)

mihai-vlc avatar mihai-vlc commented on June 2, 2024 4

Yes it works now, thank you.
If anybody else runs into this
.pipe(uglify().on('error', function(e) { console.log('\x07',e.message); return this.end(); }))

from gulp-uglify.

markgoodyear avatar markgoodyear commented on June 2, 2024

This works great now, good work. One thing I noticed is npm install gulp-uglify seems to pull the old version, so I had to change some files manually. Is it because the version number hasn't changed?

from gulp-uglify.

terinjokes avatar terinjokes commented on June 2, 2024

I haven't published it yet

from gulp-uglify.

mihai-vlc avatar mihai-vlc commented on June 2, 2024

Hello,
I still experience this problem if i save my file with invalid js it exits

from gulp-uglify.

terinjokes avatar terinjokes commented on June 2, 2024

@ionutvmi We now pass uglify errors up to the gulp task system to be handled like any other gulp plugin failure

from gulp-uglify.

mfyance avatar mfyance commented on June 2, 2024

Help me, please!!
I've a problem with the last version (Uglify).
"gulp-uglify": "^1.0.1"

The console shows me :
stream.js:94
throw er; // Unhandled stream error in pipe.
^
Error
at new JS_Parse_Error (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:196:18)
at js_error (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:204:11)
at croak (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:636:9)
at token_error (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:644:9)
at unexpected (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:650:9)
at expr_atom (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:1131:9)
at maybe_unary (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:1287:19)
at expr_ops (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:1322:24)
at maybe_conditional (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:1327:20)
at maybe_assign (node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js:1351:20)

from gulp-uglify.

rustinlee avatar rustinlee commented on June 2, 2024

@ionutvmi Worked for me, thanks man.

from gulp-uglify.

terinjokes avatar terinjokes commented on June 2, 2024

@mfyance in the most recent update, I've change the error messages to include which file name causes the problem. That is an error from UglifyJS, not this plugin.

from gulp-uglify.

dutronlabs avatar dutronlabs commented on June 2, 2024

@ionutvmi that worked perfectly. thanks!

from gulp-uglify.

thom801 avatar thom801 commented on June 2, 2024

I ended up having to go with https://www.npmjs.com/package/gulp-minify-css

from gulp-uglify.

roeeyossef avatar roeeyossef commented on June 2, 2024

@ionutvmi Works Great !

from gulp-uglify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.