首页 > 其他 > 详细

yeoman错误提示

时间:2015-04-12 16:05:25      阅读:163      评论:0      收藏:0      [点我收藏+]
运行 yo angular 出现如下提示:
$ yo angular

    grunt-cli: The grunt command line interface. (v0.1.9)

    Fatal error: Unable to find local grunt.

    If you‘re seeing this message, either a Gruntfile wasn‘t found or grunt
    hasn‘t been installed locally to your project. For more information about
    installing and configuring grunt, please see the Getting Started guide:

    http://gruntjs.com/getting-started

  我们可以看到其中有在本地没有找到 grunt ,因此我们需要先在本地安装 grunt。

$ sudo npm install grunt --save-dev

  运行以上命令,再去执行 yo angular 命令,就不会出现如上提示了。

yeoman错误提示

原文:http://www.cnblogs.com/ayseeing/p/4419560.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!