GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
547 stars 87 forks source link

Build error on resources.data.gov #4756

Closed FuhuXia closed 3 weeks ago

FuhuXia commented 1 month ago

resources.data.gov has been failing to build. As a result, no PR can go through.

error message:

npm install
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: uswds-gulp@0.1.0
npm ERR! Found: gulp@5.0.0
npm ERR! node_modules/gulp
npm ERR!   gulp@"^5.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer gulp@"^[4](https://github.com/GSA/resources.data.gov/actions/runs/9152217024/job/25159359812?pr=700#step:5:5).0.2" from uswds-gulp@0.1.0
npm ERR! node_modules/uswds-gulp
npm ERR!   uswds-gulp@"github:uswds/uswds-gulp" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: gulp@4.0.2
npm ERR! node_modules/gulp
npm ERR!   peer gulp@"^4.0.2" from uswds-gulp@0.1.0
npm ERR!   node_modules/uswds-gulp
npm ERR!     uswds-gulp@"github:uswds/uswds-gulp" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]