今天在nodejs中装了grunt工具,但是在命令行运行·grunt·的时候总是报错。
http://stackoverflow.com/questions/12784042/multiple-issues-running-grunt-cmd-on-windows
后来看了npm_module里的定义才想到用`grunt.cmd`试一试。果然就可以用了。有点晕。
今天在nodejs中装了grunt工具,但是在命令行运行·grunt·的时候总是报错。
http://stackoverflow.com/questions/12784042/multiple-issues-running-grunt-cmd-on-windows
后来看了npm_module里的定义才想到用`grunt.cmd`试一试。果然就可以用了。有点晕。