question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build fails because of webpack updates

See original GitHub issue

Hi,

It looks like that build process fails due to webpack using an outdated config param.

Error: webpack.optimize.UglifyJsPlugin has been removed, please use config.optimization.minimize instead.

Node v10.15.3, with npm v6.11.1.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dmitrizagidulincommented, Aug 23, 2019

@deiu You can try the build in pr https://github.com/digitalbazaar/vc-js/pull/23 (fix-webpack branch). It’s a work in progress (we’re trying to reduce the bundle size from its current 1.4 mb, but there’s a lot of crypto code in there), let us know if it works for you.

0reactions
mattcolliercommented, Jan 17, 2020

Got a thumbs up from the OP which I will take to mean the issue is resolved, closing due to inactivity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

next build fails with webpack error #25276 - GitHub
I'm using webpack 4 and started receiving this error today in my monorepo after updating next. Fixed it for now by using "next":...
Read more >
nextJS build fails on Vercel because of Webpack errors
I got help from support, it seems that even though my local components are Capitalized the remote branch had some components lowercased.
Read more >
Build Failure Because of Webpack Errors - Sanity.io
hey, beautiful people, I'm trying to deploy to vercel and I'm getting this series of errors ./pages/episodes/[slug].js11 :33: 35.354Module ...
Read more >
Build failed because of webpack errors (Next.js + AWS Amplify)
Hi, I'm working on a Next.js + AWS Amplify project, but I can't get it deployed :frowning: I did quite a few researches...
Read more >
To v5 from v4 - webpack
Upgrade webpack 4 and its plugins/loaders · Make sure your build has no errors or warnings · Make sure to use mode ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found