运行 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 命令,就不会出现如上提示了。

最新文章

  1. Xcode8更新CocoaPods报错解决办法
  2. VS2013安装
  3. PDB重命名
  4. 【HDOJ】1914 The Stable Marriage Problem
  5. 最近写的页面,含有大量的ajax
  6. 使用x manager 连接Linux桌面
  7. 64位与32位编程的数据类型区别(C/C++)
  8. OpenCV2.x自学笔记——形态学运算
  9. MySQL中文乱码修改
  10. Spring3.0配置多个事务管理器(即操作多个数据源)的方法
  11. Java初学者必知 关于Java字符串问题
  12. SecureCRT安装
  13. Python day 04
  14. PHP异常处理、错误捕获和自动加载的一些总结
  15. Dockfile基本语法
  16. springboot websocket 一篇足够了
  17. Tencent QQ现在就是一个十八层地狱下面的大恶魔-删除右键里的"通过QQ发送到"
  18. SAP HANA 常用函数
  19. ArcMap工具箱参数名称的Bug
  20. Tensorflow高级封装

热门文章

  1. Javascript实例:求数组中最大、最小值及下标
  2. JDBC连接数据库代码
  3. DB天气app冲刺二阶段第五天
  4. 自己的一些 Demo,源码链接
  5. 《Dive into Python》Chapter 2 and Chapter 3 笔记
  6. Problem 1016 咒文卷轴 优先队列+前缀和+rmq
  7. 【HDOJ】【4405】Aeroplane chess飞行棋
  8. Remote Desktop manager 连接后无法自动登录
  9. .net 对称加密DESCryptoServiceProvider
  10. crawler