how to chekc what version onf express-generator you have code example
Example 1: initialize express app
npx express-generator
Example 2: generate express app
$ npx express-generator
npx express-generator
$ npx express-generator