usdigitalresponse / univaf

An API hosted by USDR for recording and querying vaccine appointment availability.
https://getmyvax.org/
Apache License 2.0
7 stars 2 forks source link

Revert "build(deps-dev): bump @babel/traverse from 7.22.4 to 7.23.2" #1592

Closed astonm closed 1 year ago

astonm commented 1 year ago

This reverts commit 797ad5223c18a52557ab7c854461f02ad50f4bad.

I'm hoping it repairs the currently-broken build.

Mr0grog commented 1 year ago

Ah, looks like the problem isn’t actually 797ad52 — it’s just that the Dockerfile is based on Node.js 18.16.0, and then tries to update NPM to the latest version, which requires >= 18.17.0. So this is just down to the passage of time. From the build log:

 > [base 2/9] RUN npm install -g npm:
 ERR! code EBADENGINE
0.998 npm ERR! engine Unsupported engine
0.998 npm ERR! engine Not compatible with your version of node/npm: npm@10.2.1
0.999 npm ERR! notsup Not compatible with your version of node/npm: npm@10.2.1
0.999 npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
0.999 npm ERR! notsup Actual:   {"npm":"9.5.1","node":"v18.16.0"}

The right fix is probably to update the Node.js version in the Dockerfile to the latest 18.x instead.

But also the site is shut down and just running static content, so this hasn’t caused any real problems, so no worries!

Mr0grog commented 1 year ago

Should be solved in #1593; I’m closing this.