'Grunt' is not an internal or external command, operable program or batch file

Encountered a very strange pit, obviously grunt-cli grunt are written according to the configuration official website, but the input is being given grunt -v

'Grunt' is not an internal or external command, operable program or batch file to configure the online search environment variables configuration, is not life and death, then see node installation directory is c disk, node_path environment variable in the d drive It is not because the letter is not the same can not find it, so, uninstall node, re-install the d disk, problem solving, pit dead.

Guess you like

Origin blog.51cto.com/13496570/2401158