I used yo to create angular. After completion
grunt server failed and gruntfile could not be found. There is this file in the project
Then I executed npm install grunt --save-dev
npm install
还是不行?
黄舟2017-05-15 17:15:41
See you again. . .
Actually, I didn’t get it right when I installed angular using yo. After I installed grunt server, the web page opening style was messed up. Just not doing it.
If your grunt server prompts that gruntfile cannot be found, you can check if there is such a file in your project directory.
漂亮男人2017-05-15 17:15:41
Is there a corresponding gruntfile.js file in the directory? If not, there is a problem.
PHPz2017-05-15 17:15:41
There is no gruntfile.js, the problem has been pointed out by you, this is gulpfile.js