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. IE chrome兼容问题

    1.关于display显示和隐藏问题 document.getElementById("id").style.display="";//表示显示 documen ...

  2. Drawer_layout 关闭滑动视图

    在android抽屉Drawer_layout开发中,我需要关闭滑动的试图 找到了这个方法 mDrawer_layout.setDrawerLockMode(DrawerLayout.LOCK_MOD ...

  3. ok6410 u-boot-2012.04.01移植六完善MLC NAND支持

    继ok6410 u-boot-2012.04.01移植四.五后,开发板基本已支持MLC NAND,支持DM9000.但是通过NAND命令更新u-boot到NAND,还存在问题,需要根据u-boot的n ...

  4. 《Windows编程零基础学》第零节

    首先很开心申请到了这一个专栏<Windows编程零基础学> 这是第一篇文章,在这里,我将讲述一些基础的知识. 什么是Windows编程 所谓Windows编程就是在Windows平台上开发 ...

  5. Linq to sql并发与事务

    本文转载:http://www.cnblogs.com/lovecherry/archive/2007/08/20/862365.html 检测并发 首先使用下面的SQL语句查询数据库的产品表: se ...

  6. opencv2对读书笔记——使用均值漂移算法查找物体

    一些小概念 1.反投影直方图的结果是一个概率映射,体现了已知图像内容出如今图像中特定位置的概率. 2.概率映射能够找到最初的位置,从最初的位置開始而且迭代移动,便能够找到精确的位置,这就是均值漂移算法 ...

  7. HDOJ 1787 GCD Again(欧拉函数)

    GCD Again Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total ...

  8. PHP 計算字符串長度函數

    PHP內置的字符串長度函數strlen無法正確處理中文字符串,它得到的只是字符串所占的字節數.對於GB2312的中文編碼,strlen得到的值是漢字個數的2倍,而對於UTF-8編碼的中文,就是3倍的差 ...

  9. Python多线程及其使用方法

    [Python之旅]第六篇(三):Python多线程及其使用方法   python 多线程 多线程使用方法 GIL 摘要: 1.Python中的多线程     执行一个程序,即在操作系统中开启了一个进 ...

  10. 写一个基于NSURLSession的网络下载库

    前段时间AFNetworking 更新到3.0 ,彻底废弃NSURLConnection的API转由NSURLSession来实现,代码并没有改动很大,AF封装的很好了,读完源码感觉收获很大. 下载不 ...