I installed Node.js, then created a new folder on my C:\ and installed an Express skeleton using:
npx express-generator
Now I just want to see the express options using express -h, but when I do so it gives this error:
'express' is not recognized as an internal or external command, operable program or batch file.
This is the beginning of the tutorial I followed: https://expressjs.com/en/starter/installing.html
Is there a missing step or something? Where did this go wrong?
expressis a command name, see thebinconfiguration in package.json#L37.Also, have a look at the
binconfiguration of npm to know what's it.You can install the
express-generatorglobally, then use theexpresscommand to run the./bin/express-cli.jsscript.