cashapp / backfila

Service that manages backfill state, calling into other services to do batched work
https://cashapp.github.io/backfila/
Apache License 2.0
30 stars 49 forks source link

Pin version of webpack-dev-server to avoid build issues #347

Closed jrobotham-square closed 9 months ago

jrobotham-square commented 9 months ago

I ran into some issues running the UI locally which seem to related to webpack-dev-server being unintentially upgraded to a 4.x version.

eg running

miskweb ci-build 
miskweb start

I get the following error:


The command moved into a separate package: @webpack-cli/serve
Would you like to install serve? (That will run npm install -D @webpack-cli/serve) (yes/NO) :
``

Running the suggested npm install causes a bunch of other issues.

Pinning the version to  "webpack-dev-server": "3.11.3" seems to fix those issue.

Fixing NPM build issues is by no means my forte, so it's possible this change is the wrong way to go.