1:运行yo

提示我可以升级到1.4.7版本,下面进行升级

提示需要npm>=2.8.0下面进行升级npm

y@y:angular-fullstack-test$ npm install npm -g
/home/y/.npm-packages/bin/npm -> /home/y/.npm-packages/lib/node_modules/npm/bin/npm-cli.js
npm@2.13. /home/y/.npm-packages/lib/node_modules/npm y@y:angular-fullstack-test$ npm -v
2.13.
y@y:angular-fullstack-test$

升级yo

y@y:angular-fullstack-test$ npm install -g yo

> spawn-sync@1.0. postinstall /home/y/.npm-packages/lib/node_modules/yo/node_modules/cross-spawn/node_modules/spawn-sync
> node postinstall /home/y/.npm-packages/bin/yo -> /home/y/.npm-packages/lib/node_modules/yo/lib/cli.js > yo@1.4. postinstall /home/y/.npm-packages/lib/node_modules/yo
> yodoctor Yeoman Doctor
Running sanity checks on your system ✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version Everything looks all right!
yo@1.4. /home/y/.npm-packages/lib/node_modules/yo
├── titleize@1.0.
├── figures@1.3.
├── array-uniq@1.0.
├── user-home@1.1.
├── opn@1.0.
├── humanize-string@1.0. (decamelize@1.0.)
├── sort-on@1.2. (arrify@1.0., dot-prop@2.2.)
├── yeoman-character@1.0. (supports-color@1.3.)
├── repeating@1.1. (is-finite@1.0.)
├── findup@0.1. (commander@2.1., colors@0.6.)
├── root-check@1.0. (sudo-block@1.2., downgrade-root@1.1.)
├── meow@3.3. (object-assign@3.0., indent-string@1.2., minimist@1.1., camelcase-keys@1.0.)
├── string-length@1.0. (strip-ansi@3.0.)
├── chalk@1.1. (escape-string-regexp@1.0., supports-color@2.0., ansi-styles@2.1., strip-ansi@3.0., has-ansi@2.0.)
├── yosay@1.0. (ansi-regex@1.1., strip-ansi@2.0., ansi-styles@2.1., pad-component@0.0., word-wrap@1.1., taketalk@1.0., minimist@1.1., string-width@1.0.)
├── configstore@1.2. (os-tmpdir@1.0., object-assign@3.0., graceful-fs@4.1., uuid@2.0., xdg-basedir@2.0., osenv@0.1., mkdirp@0.5., write-file-atomic@1.1.)
├── update-notifier@0.5. (is-npm@1.0., latest-version@1.0., semver-diff@2.0.)
├── npm-keyword@1.2. (registry-url@3.0.)
├── package-json@1.2. (registry-url@3.0.)
├── got@3.3. (lowercase-keys@1.0., is-stream@1.0., timed-out@2.0., is-redirect@1.0., prepend-http@1.0., object-assign@3.0., infinity-agent@2.0., nested-error-stacks@1.0., read-all-stream@3.0., duplexify@3.4.)
├── async@1.4.
├── cross-spawn@0.4. (lru-cache@2.6., spawn-sync@1.0.)
├── lodash@3.10.
├── fullname@1.1. (npmconf@2.1.)
├── inquirer@0.8. (ansi-regex@1.1., cli-width@1.0., through@2.3., readline2@0.1., rx@2.5.)
├── insight@0.6. (object-assign@2.1., async@0.9., lodash.debounce@3.1., tough-cookie@1.2., os-name@1.0., request@2.60.)
├── yeoman-doctor@1.4. (object-values@1.0., log-symbols@1.0., each-async@1.1., semver@4.3., bin-version-check@2.1., twig@0.8.)
└── yeoman-environment@1.2. (escape-string-regexp@1.0., log-symbols@1.0., diff@1.4., text-table@0.2., untildify@2.1., debug@2.2., mem-fs@1.1., grouped-queue@0.3., globby@2.1.)

2:使用yo创建angular-fullstack项目

y@y:angular-fullstack-test$ yo
? ==========================================================================
? ==========================================================================
? ==========================================================================
We're constantly looking for ways to make yo better!
May we anonymously report usage statistics to improve the tool over time?
More info: https://github.com/yeoman/insight & http://yeoman.io
========================================================================== Yes
? 'Allo yshy! What would you like to do? (Use arrow keys)
Run a generator
❯ Angular Fullstack
──────────────
Update your generators
Install a generator
Find some help
Get me out of here!
──────────────

选择n继续.安装过程需要一段时间.

3:运行项目

$grunt serve

angular-fullstack test的更多相关文章

  1. Angular权威指南学习笔记(转)

    http://www.cnblogs.com/lzhp/p/4000741.html 第一章.        初识Angular——Angular是MVW的Js框架. 第二章.        数据绑定 ...

  2. Angular权威指南学习笔记

    第一章.        初识Angular--Angular是MVW的Js框架. 第二章.        数据绑定--ViewModel中不仅可以含有变量,还可以还有事件.可以通过事件来控制变量的值改 ...

  3. 理解 angular 的路由功能

    相信很多人使用angular 都是因为他路由功能而用的 深入理解ANGULARUI路由_UI-ROUTER 最近在用 ionic写个webapp 看到几个demo中路由有好几种,搞的有点晕,查下资料研 ...

  4. Angular ui-route介绍

    参考博客: https://www.cnblogs.com/haogj/p/4885928.html 原文地址:http://www.ng-newsletter.com/posts/angular-u ...

  5. why 2020 you should create a new modern website with web fullstack

    why 2020 you should create a new modern website with web fullstack Full-Stack Web Development Front- ...

  6. fullstack web projects in action

    fullstack web projects in action web 全栈项目实战 Angular 全栈 Angular + TypeScript + Nest.js + PostgreSQL + ...

  7. Angular 8.x in Action

    Angular 8.x in Action web fullstack / fullstack web Angular 8 https://angular.io/ Angular 2, Angular ...

  8. Angular杂谈系列1-如何在Angular2中使用jQuery及其插件

    jQuery,让我们对dom的操作更加便捷.由于其易用性和可扩展性,jQuer也迅速风靡全球,各种插件也是目不暇接. 我相信很多人并不能直接远离jQuery去做前端,因为它太好用了,我们以前做的东西大 ...

  9. Angular企业级开发(5)-项目框架搭建

    1.AngularJS Seed项目目录结构 AngularJS官方网站提供了一个angular-phonecat项目,另外一个就是Angular-Seed项目.所以大多数团队会基于Angular-S ...

随机推荐

  1. JQuery实现悬浮工具条

    实现效果如下 html代码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http ...

  2. angularJS $watch $digest $apply

    一 简介AngularJS提供了一个非常酷的特性叫做双向数据绑定(Two-way Data Binding),这个特性大大简化了我们的代码编写方式.数据绑定意味着当View中有任何数据发生了变化,那么 ...

  3. 大数据分析神兽麒麟(Apache Kylin)

    1.Apache Kylin是什么? 在现在的大数据时代,越来越多的企业开始使用Hadoop管理数据,但是现有的业务分析工具(如Tableau,Microstrategy等)往往存在很大的局限,如难以 ...

  4. Prefix.pch的作用和用法

    一般用于放置宏,省去xcode编译的时间 Hello World_Prefix.pch:扩展名.pch表示"precompiled header",这是一个你工程要用到的来自于外部 ...

  5. QML 语言基础

    在<Qt Quick 简单介绍>中我们提到 QML 语法和 Json 相似,请參考<Qt on Android: http下载与Json解析>查看 Json 语法.当然这里我们 ...

  6. MySQL 通配符学习小结

    MySQL 通配符 SQL的模式匹配同意你使用"_"匹配不论什么单个字符,而"%"匹配随意数目字符(包含零个字符).在 MySQL中,SQL的模式缺省是忽略大写 ...

  7. [转] 关于c++的头文件依赖

    http://www.cnblogs.com/yvesliao/p/3938730.html PS: 使用单向依赖 正在看google c++编程规范,里面对头文件依赖是这么说的: 1 2 3 4 5 ...

  8. Bridge 桥梁模式 桥接模式

    简介 将[抽象部分](Abstraction,人)与[实现部分](Implementor,人穿的衣服)分离,使它们都可以独立的变化. [业务抽象角色]引用[业务实现角色],或者说[业务抽象角色]的部分 ...

  9. 优雅退出 Android 应用程序的 6 种方式

    我们先来看看几种常见的退出方法(不优雅的方式) 一.容器式 建立一个全局容器,把所有的Activity存储起来,退出时循环遍历finish所有Activity import java.util.Arr ...

  10. __name__属性

    #coding=utf-8#首先我们分别看一下这个模块在不同场景中的__name__的值print __name__ #其次我们看一下__name__属性的常用情况if __name__==" ...