我用yo创建angular,完成后
grunt server失败,找不到gruntfile,项目里是有这个文件的
然后我执行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