Page MenuHomePhabricator

[e.cash] Upgrade dependencies
ClosedPublic

Authored by bytesofman on Jul 16 2024, 11:42.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC8d286cff8a50: [e.cash] Upgrade dependencies
Summary

Upgrade dependencies in e.cash repo

Test Plan

@bot preview-e.cash

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Tail of the build log:

#4 sha256:513d779256048c961239af5f500589330546b072775217272e19ffae1635e98e 191.90MB / 191.90MB 2.5s done
#4 extracting sha256:311da6c465ea1576925360eba391bcd32dece9be95960a0bc9ffcb25fe712017 1.4s done
#4 extracting sha256:7e9bf114588c05b2df612b083b96582f3b8dbf51647aa6138a50d09d42df2454
#4 extracting sha256:7e9bf114588c05b2df612b083b96582f3b8dbf51647aa6138a50d09d42df2454 0.3s done
#4 extracting sha256:ffd9397e94b74abcb54e514f1430e00f604328d1f895eadbd482f08cc02444e5
#4 extracting sha256:ffd9397e94b74abcb54e514f1430e00f604328d1f895eadbd482f08cc02444e5 1.5s done
#4 extracting sha256:513d779256048c961239af5f500589330546b072775217272e19ffae1635e98e
#4 extracting sha256:513d779256048c961239af5f500589330546b072775217272e19ffae1635e98e 5.0s
#4 extracting sha256:513d779256048c961239af5f500589330546b072775217272e19ffae1635e98e 5.1s done
#4 extracting sha256:ae3b95bbaa61ce24cefdd89e7c74d6fbd7713b2bcae93af47063d06bd7e02172 0.1s done
#4 extracting sha256:0e421f66aff42bb069dffc26af6d132194b22a1082b08c5ef7cd69c627783c04
#4 extracting sha256:0e421f66aff42bb069dffc26af6d132194b22a1082b08c5ef7cd69c627783c04 1.0s done
#4 extracting sha256:ca266fd6192108b67fb57b74753a8c4ca5d8bd458baae3d4df7ce9f42dedcc1d 0.1s
#4 extracting sha256:ca266fd6192108b67fb57b74753a8c4ca5d8bd458baae3d4df7ce9f42dedcc1d 0.2s done
#4 extracting sha256:ee7d78be1eb92caf6ae84fc3af736b23eca018d5dedc967ae5bdee6d7082403b
#4 extracting sha256:ee7d78be1eb92caf6ae84fc3af736b23eca018d5dedc967ae5bdee6d7082403b done
#4 DONE 11.9s

#6 [2/5] COPY . .
#6 sha256:70e166b8b63a895415814824cac7655340fe20cfbce8e688638f4e6c19a8a146
#6 DONE 0.6s

#7 [3/5] COPY next.preview.js next.config.js
#7 sha256:de3528b1e9af8fe178a7eda14c97c6e9c26a5040ef7d4392f62b6749eec84d02
#7 DONE 0.1s

#8 [4/5] RUN npm ci
#8 sha256:f33ccdd9aef3d0f069053dbe32e95636854f3a4241fd49bd38ada58e711c9ff9
#8 1.147 npm WARN EBADENGINE Unsupported engine {
#8 1.147 npm WARN EBADENGINE   package: 'next@14.2.5',
#8 1.147 npm WARN EBADENGINE   required: { node: '>=18.17.0' },
#8 1.147 npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
#8 1.147 npm WARN EBADENGINE }
#8 11.00 
#8 11.00 added 818 packages, and audited 819 packages in 10s
#8 11.00 
#8 11.00 154 packages are looking for funding
#8 11.00   run `npm fund` for details
#8 11.00 
#8 11.00 found 0 vulnerabilities
#8 11.00 npm notice 
#8 11.00 npm notice New major version of npm available! 8.19.4 -> 10.8.2
#8 11.00 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.2>
#8 11.00 npm notice Run `npm install -g npm@10.8.2` to update!
#8 11.00 npm notice 
#8 DONE 11.4s

#9 [5/5] RUN npm run build
#9 sha256:0a0f1d6996d7e59c6e5a2bf3f90b9a7fe954995d62729d5eb3237289153d2b7f
#9 0.722 
#9 0.722 > e.cash@0.0.1 build
#9 0.722 > next build
#9 0.722 
#9 0.767 You are using Node.js 16.20.2. For Next.js, Node.js version >= v18.17.0 is required.
#9 ERROR: executor failed running [/bin/sh -c npm run build]: exit code: 1
------
 > [5/5] RUN npm run build:
------
executor failed running [/bin/sh -c npm run build]: exit code: 1
Build preview-e.cash failed with exit code 1
This revision is now accepted and ready to land.Jul 16 2024, 12:36

Tail of the build log:

#4 extracting sha256:711b977faa4ed044e3e66a6a90c0e44d7e573737138855d1f2a0b7e0b017f706
#4 extracting sha256:711b977faa4ed044e3e66a6a90c0e44d7e573737138855d1f2a0b7e0b017f706 0.1s done
#4 extracting sha256:322f1716fc6a07aa0437fb563d7646957526544948090aad0db9f8e74e962211 done
#4 DONE 13.7s

#6 [2/5] COPY . .
#6 sha256:04dd0950884a2e5fd1e2a6c394445ad9c67260db9908b80e23e72d45fb4c89a2
#6 DONE 0.8s

#7 [3/5] COPY next.preview.js next.config.js
#7 sha256:c07ce3f82c0eb00189be1edfc0f281d77bcae48f60440e0af688277313bcc083
#7 DONE 0.0s

#8 [4/5] RUN npm ci
#8 sha256:c1e21aee115dae7bb1927f501123fd0ea222c6f67da7e386ac1e4b3b898e20e6
#8 9.907 
#8 9.907 added 818 packages, and audited 819 packages in 10s
#8 9.907 
#8 9.907 154 packages are looking for funding
#8 9.907   run `npm fund` for details
#8 9.908 
#8 9.908 found 0 vulnerabilities
#8 9.908 npm notice
#8 9.908 npm notice New minor version of npm available! 10.7.0 -> 10.8.2
#8 9.908 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
#8 9.908 npm notice To update run: npm install -g npm@10.8.2
#8 9.908 npm notice
#8 DONE 10.4s

#9 [5/5] RUN npm run build
#9 sha256:235fd96c1259534137e8c37ba244889990a56ae3557770abf258580e27dd4e08
#9 0.568 
#9 0.568 > e.cash@0.0.1 build
#9 0.568 > next build
#9 0.568 
#9 1.050 Attention: Next.js now collects completely anonymous telemetry regarding usage.
#9 1.050 This information is used to shape Next.js' roadmap and prioritize features.
#9 1.050 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
#9 1.050 https://nextjs.org/telemetry
#9 1.050 
#9 1.103   ▲ Next.js 14.2.5
#9 1.103   - Environments: .env
#9 1.103 
#9 1.104    Linting and checking validity of types ...
#9 2.846 
#9 2.846 Failed to compile.
#9 2.846 
#9 2.846 ./lib/python3/dist-packages/mercurial/templates/static/followlines.js
#9 2.846 9:1  Error: incorrect header  header/header
#9 2.846 
#9 2.846 ./lib/python3/dist-packages/mercurial/templates/static/mercurial.js
#9 2.846 16:1  Error: incorrect header  header/header
#9 2.846 
#9 2.846 info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
#9 ERROR: executor failed running [/bin/sh -c npm run build]: exit code: 1
------
 > [5/5] RUN npm run build:
------
executor failed running [/bin/sh -c npm run build]: exit code: 1
Build preview-e.cash failed with exit code 1
  • The changes fail to build with node 16 because upgraded deps do not support node 16
  • The changes fail to build with node 20 due to linting errors

So, need to handle node upgrade of some sort separate from these dep changes. Will do this before upgrading deps.

This revision is now accepted and ready to land.Jul 17 2024, 17:48
This revision was automatically updated to reflect the committed changes.