GruntJs 'grunt' cmd opens Visual Studio?
问题 I have been able to use GruntJs on several personal projects with zero problems. I decided I would use it on my project at work. I run: grunt init:gruntfile and that creates the gruntfile and the package.json file just fine. The problem is that whenever I run any grunt cmd grunt or grunt lint etc it immediately opens up Visual Studio and opens the gruntfile. Nothing actually happens. Any idea what I am doing wrong? 回答1: I didnt read the FAQ... https://github.com/gruntjs/grunt/wiki/Frequently