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. Collections之sort、reverse

    在使用List集合时,通常情况下希望从集合中得到的对象是按照一定顺序排列的,但是List集合的默认排序方式为按照对象的插入顺序,可以通过java.util.Collections类的静态方法sort( ...

  2. Android Developers:两个视图渐变

    淡入淡出动画(也被称为渐隐)逐渐淡出一个UI组件,同时淡入另一个.这个动画在你想在你的应用程序中切换内容或者是视图的情况下非常有用.淡入淡出非常微妙并短,但支持从一个屏幕到下一个屏幕流畅的过渡.当你不 ...

  3. [Flux] Component / Views

    The application will dislay a some catalogs, and each catalog has title image, description. Catalog: ...

  4. Android运行时注解

    Android的注解有编译时注解和运行时注解,本文就介绍下运行时注解. 其实非常简单,直接上代码:本文主要是替代传统的findViewById()的功能,就是在我们Activity中不需要再使用fin ...

  5. 面试题——分析从输入url到页面返回的过程(或者查询返回过程)

    1. You enter a URL into the browser(输入一个url地址) 2.The browser looks up the IP address for the domain ...

  6. 利用Range改变光标位置

    先上代码,代码取自网上某插件中 function caret(begin, end) { if (this.length == 0) return; if (typeof begin == 'numb ...

  7. plist解析, 简易实现.

    源码 class Xml { public: typedef std::pair<std::wstring, std::wstring> NodeT; static std::vector ...

  8. 【USACO 3.2.3】纺车的轮子

    [描述] 一架纺车有五个纺轮,这五个不透明的轮子边缘上都有一些缺口.这些缺口必须被迅速而准确地排列好.每个轮子都有一个起始标记(在0度),这样所有的轮子都可以在统一的已知位置开始转动.轮子按照角度变大 ...

  9. linux的du和df命令

    今天也有同学问我Linux下查看目录大小的命令,现在也将前阵子学习到du/df两个命令总结一下吧.前阵子测试工作中有遇到过由于磁盘空间满导致程序无法执行到情况,所以使用了df和du两个命令. du查看 ...

  10. jquery mobile listview列表属性(搜索自动填充检索效果)

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name ...