Coder Social home page Coder Social logo

Comments (9)

fulls1z3 avatar fulls1z3 commented on June 16, 2024 3

I solved this by forcing the uglify-js deps to use version git://github.com/mishoo/UglifyJS2#harmony-v2.8.22.

Get the latest version of this repository, and remove webpack and uglify-js dirs from node_modules and run npm install/yarn et voila!

from universal.

fulls1z3 avatar fulls1z3 commented on June 16, 2024

It's a known issue which arises today, this repo depends on the harmony branch of UglifyJs2 and it got somehow broken. If you visit the latest issues on that repo, you'll notice how everyone's builds are failing.

Commenting Uglify plugin from webpack config will help the prod build to be successful. Tomorrow, I'll have a look at the UglifyJs2 repo and try to solve this.

from universal.

theomathieubhvr avatar theomathieubhvr commented on June 16, 2024

Cool, thanks !

👍

from universal.

fulls1z3 avatar fulls1z3 commented on June 16, 2024

(internal note)
here's a list of links referencing the major crash on UglifyJS:

from universal.

Mahmoud-hassan87 avatar Mahmoud-hassan87 commented on June 16, 2024

i have same issue

from universal.

fulls1z3 avatar fulls1z3 commented on June 16, 2024

@Mahmoud-hassan87 i'm still collecting information on this topic, seems like the new of UglifyJS broke many things.

Stay tuned.

from universal.

fulls1z3 avatar fulls1z3 commented on June 16, 2024

@theomathieubhvr @Mahmoud-hassan87 get the latest version and try to build. I temporarily commented the UglifyJs and it should run without a problem now.

from universal.

theomathieubhvr avatar theomathieubhvr commented on June 16, 2024

Thanks ! That's working now.

I don't know what to do with this issue, renaming it or closing it ?

I'll let you decide.

from universal.

fulls1z3 avatar fulls1z3 commented on June 16, 2024

Let's leave it because I could not reproduce it (using fulls1z3/webpack as a dependency). Let's keep this open for a few more days, and let's see.

from universal.

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.