I have the "@badeball/cypress-cucumber-preprocessor": "^21.0.3" installed and got the same error running
npx cypress-cucumber-diagnostics
The link below is returning 404
https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/diagnostics.md