windows - win7 express js: 'express' is not recognized in cmd -
i have node.js installed , running fine on windows 7 computer. run
> npm install -g express > npm install -g express-generator > npm install -g express-generator@3
and install successfully. when go new folder , try:
> express myproject
i get: 'express' not recognized internal or external command, operable program or batch file
i see 'express', 'express.cmd', , 'node_modules' directory 'express' , 'express-generator' folders in c:\users\me\appdata\roaming\npm directory
i added npm directory path in case missed.
i tried solutions find:
'express' not recognized command (windows)
https://groups.google.com/forum/#!topic/express-js/cr92_lc_puk
what else can try express working?
check have path express folder in path. remember need reopen cmd apply changes in environment variables modifying them not modify variables of working processes, afaik. if changing system-wide environment variables, may need restart windows.
you may need check if pathext contains .cmd extension.
Comments
Post a Comment