Unknown command 'DEBUG:myapp'
The answer is in the error message that it returned. Simply run:
env DEBUG=myapp ./bin/www
Then go to http://localhost:3000.
express is different from express-generator. Express generator sets up a folder structure with all the important files you need. If you need the generator run
npm i express-generator -g
then
express [app-name]
where [app-name] is the name of the app you want to create. You can check this link for more options https://expressjs.com/en/starter/generator.html