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. Appium移动自动化测试(二)--安装Android开发环境(转)

    Appium移动自动化测试(二)--安装Android开发环境 2015-06-04 17:30 by 虫师, 35299 阅读, 23 评论, 收藏, 编辑 继续Appium环境的搭建. 第二节   ...

  2. javaweb笔记5之请求编码问题

    post提交: 设置实体内容的编码:request.setCharacterEncoding("utf-8"); 注意:一定要在获取所有参数之前设置,否则设置无效! get方式提交 ...

  3. Demo_CS(移动,切换枪支,发射子弹)

    using UnityEngine; using System.Collections; public class Gun : MonoBehaviour { private Animator ani ...

  4. iframe页面改动parent页面的隐藏input部件value值,不能触发change事件。

    实现一个依据iframe页面返回充值卡类型不同,安排不同的input部件. 点击选择弹出一个iframe.点击充值卡数据行.返回1.充值卡类型.2.充值卡id(用的UUID).3.充值卡号(字符串). ...

  5. Linux下生产者与消费者的线程实现

    代码见<现代操作系统> 第3版. 为了显示效果,添加了printf()函数来显示运行效果 #include<stdio.h> #include<pthread.h> ...

  6. DFU工作过程中USB机制

    在一级bootloader执行进入USB启动方式之后,设备进行枚举.枚举过程中会通过PC端发送命令对连接的USB设备进行枚举.当枚举成功之后,在PC端可以看到设备的盘符. 当设备能够被PC正确识别之后 ...

  7. [转] Java中ArrayList类的用法

    1.什么是ArrayList ArrayList就是传说中的动态数组,用MSDN中的说法,就是Array的复杂版本,它提供了如下一些好处: 动态的增加和减少元素 实现了ICollection和ILis ...

  8. nmap使用方法

      你是否曾想知道你所在局域网中哪些IP已经被使用了?还有哪些IP地址没有被使用?是否想知道某个IP地址下是什么系统…… 这些问题我们都可以使用一个nmap的工具解决,下面,就让我们开始了解nmap. ...

  9. noip 2012 借教室 (线段树 二分)

    /* 维护区间最小值 数据不超int 相反如果long long的话会有一组数据超时 无视掉 ll int */ #include<iostream> #include<cstdio ...

  10. VBA取得EXCEL表格中的行数和列数

    VBA取得EXCEL表格中的行数和列数 初学EXCEL宏的童鞋,总是很想知道表格中含有数据的行数和列数,尤其是行数和列数不确定的情况下.这样可以避免很多的错误,并且可以提高效率.但每次用到的时候到网上 ...