domingo, 6 de agosto de 2017

ANGULAR instalación pasos sencillos TOUR OF HEROES



angular CLI
C:\WINDOWS\system32>cd C:\Users\RPerez\AppData\Roaming\npm\node_modules\angular-cli\bin\ng
The system cannot find the path specified.

C:\WINDOWS\system32>cd C:\Users\RPerez\AppData\Roaming\npm

C:\Users\RPerez\AppData\Roaming\npm>ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 9.1.0
Node: 12.16.1
OS: win32 x64

Angular:
...
Ivy Workspace:

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.901.0
@angular-devkit/core         9.1.0
@angular-devkit/schematics   9.1.0
@schematics/angular          9.1.0
@schematics/update           0.901.0
rxjs                         6.5.4


Microsoft Windows [Version 10.0.18362.657]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\RPerez>ng
Available Commands:
  add Adds support for an external library to your project.
  analytics Configures the gathering of Angular CLI usage metrics. See https://v8.angular.io/cli/usage-analytics-gathering.
  build (b) Compiles an Angular app into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.
  deploy Invokes the deploy builder for a specified project or for the default project in the workspace.
  config Retrieves or sets Angular configuration values in the angular.json file for the workspace.
  doc (d) Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.
  e2e (e) Builds and serves an Angular app, then runs end-to-end tests using Protractor.
  generate (g) Generates and/or modifies files based on a schematic.
  help Lists available commands and their short descriptions.
  lint (l) Runs linting tools on Angular app code in a given project folder.
  new (n) Creates a new workspace and an initial Angular app.
  run Runs an Architect target with an optional custom builder configuration defined in your project.
  serve (s) Builds and serves your app, rebuilding on file changes.
  test (t) Runs unit tests in a project.
  update Updates your application and its dependencies. See https://update.angular.io/
  version (v) Outputs Angular CLI version.
  xi18n (i18n-extract) Extracts i18n messages from source code.

For more detailed help run "ng [command name] --help"

C:\Users\RPerez>


He creado una nueva aplicacion ANGULAR desde mi ordenador, 


Es importante instalar primero  NPM?

QUE ES NPM'?

Npm

npm es el manejador de paquetes por defecto para Node.js, un entorno de ejecución para JavaScript.

Visión general[editar]

Desde la versión 0.6.3 de Node.js npm es instalado automáticamente con el entorno. npm se ejecuta desde la linea de comandos y maneja las dependencias para una aplicación.12​ Además, permite a los usuarios instalar aplicaciones Node.js que se encuentran en el repositorio. npm está escrito enteramente en JavaScript y fue desarrollado por Isaac Z. Schlueter a raíz de la frustración que experimentó mientras trabajando con CommonJS y considerando las deficiencias de otros proyectos similares como PHP (PEAR) y Perl (CPAN).3

Nombre[editar]

En noviembre 2014, Collin Winter escribió en GitHub que "npm" no es una abreviatura para "Node Package Manager", sino un retroacrónimo recursivo para "npm is not an acronym".4​ Aun así, en el archivo README.md encontrado en npm-0.0.1 se puede leer en la primera línea: "The Node Package Manager".1

Véase también[editar]

AHORA PARA INSTALARLO NECESITAMOS EJECUTAR EN LINEA DE COMANDO COMO POWERSHELL

angular 

This repo is for distribution on npm and bower. The source for this module is in the main AngularJS repo. Please file issues and pull requests against that repo.

Install

You can install this package either with npm or with bower.

npm

npm install angular
Then add a <script> to your index.html:
<script src="/node_modules/angular/angular.js"></script>
Or require('angular') from your code.

bower

bower install angular
Then add a <script> to your index.html:
<script src="/bower_components/angular/angular.js"></script>

Documentation

Documentation is available on the AngularJS docs site.

License

The MIT License
Copyright (c) 2010-2015 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli

Given version (angular/cli) does not match manifest ()
Attempting to generate manifest for '' (angular/cli)
'' does not have autoupdate capability
couldn't find manifest for '@angular/cli'
PS C:\WINDOWS\system32> npm
^C^C¿Desea terminar el trabajo por lotes (S/N)? s
PS C:\WINDOWS\system32> npm install -g @angular/cli
C:\Users\rober\scoop\persist\nodejs\bin\ng -> C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\bin\ng

> node-sass@4.5.3 install C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\node_modules\node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-57_binding.node
Download complete..] - :
Binary saved to C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\node_modules\node-sass\vendor\win32-x64-57\binding.node
Caching binary to C:\Users\rober\scoop\persist\nodejs\cache\node-sass\4.5.3\win32-x64-57_binding.node

> node-sass@4.5.3 postinstall C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\node_modules\node-sass
> node scripts/build.js

Binary found at C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\node_modules\node-sass\vendor\win32-x64-57\binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\@angular\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ @angular/cli@1.2.7
added 890 packages in 134.798s
PS C:\WINDOWS\system32>


COMANDO CORRECTO EN POWERSHELL


 Microsoft Windows [Versión 10.0.15063]
(c) 2017 Microsoft Corporation. Todos los derechos reservados.

C:\WINDOWS\system32>cd C:\Users\rober\scoop\persist\nodejs\bin

C:\Users\rober\scoop\persist\nodejs\bin>powershell
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. Todos los derechos reservados.

PS C:\Users\rober\scoop\persist\nodejs\bin> npm install -g @angular/cli
C:\Users\rober\scoop\persist\nodejs\bin\ng -> C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\bin\ng

> node-sass@4.5.3 install C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\node_modules\node-sass
> node scripts/install.js

Cached binary found at C:\Users\rober\scoop\persist\nodejs\cache\node-sass\4.5.3\win32-x64-57_binding.node

> node-sass@4.5.3 postinstall C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\node_modules\node-sass
> node scripts/build.js

Binary found at C:\Users\rober\scoop\persist\nodejs\bin\node_modules\@angular\cli\node_modules\node-sass\vendor\win32-x64-57\binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\@angular\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ @angular/cli@1.2.7
added 890 packages in 70.765s
PS C:\Users\rober\scoop\persist\nodejs\bin> cd .\src\
PS C:\Users\rober\scoop\persist\nodejs\bin\src> cd .\main\
PS C:\Users\rober\scoop\persist\nodejs\bin\src\main> cd .\webapp\
PS C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp> ng new angular2 --skip-git
installing ng
  create .editorconfig
  create README.md
  create src\app\app.component.css
  create src\app\app.component.html
  create src\app\app.component.spec.ts
  create src\app\app.component.ts
  create src\app\app.module.ts
  create src\assets\.gitkeep
  create src\environments\environment.prod.ts
  create src\environments\environment.ts
  create src\favicon.ico
  create src\index.html
  create src\main.ts
  create src\polyfills.ts
  create src\styles.css
  create src\test.ts
  create src\tsconfig.app.json
  create src\tsconfig.spec.json
  create src\typings.d.ts
  create .angular-cli.json
  create e2e\app.e2e-spec.ts
  create e2e\app.po.ts
  create e2e\tsconfig.e2e.json
  create karma.conf.js
  create package.json
  create protractor.conf.js
  create tsconfig.json
  create tslint.json
Installing packages for tooling via npm.
Installed packages for tooling via npm.
Project 'angular2' successfully created.
PS C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp> scoop install -g @angular/cli

PS C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp> ls


    Directorio: C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         8/6/2017   6:44 PM                angular2


PS C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp> cd .\angular2\
PS C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp\angular2> ls


    Directorio: C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp\angular2


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----         8/6/2017   6:41 PM                e2e
d-----         8/6/2017   6:44 PM                node_modules
d-----         8/6/2017   6:41 PM                src
-a----         8/6/2017   6:41 PM           1243 .angular-cli.json
-a----         8/6/2017   6:41 PM            245 .editorconfig
-a----         8/6/2017   6:41 PM            924 karma.conf.js
-a----         8/6/2017   6:44 PM         286283 package-lock.json
-a----         8/6/2017   6:41 PM           1313 package.json
-a----         8/6/2017   6:41 PM            722 protractor.conf.js
-a----         8/6/2017   6:41 PM           1099 README.md
-a----         8/6/2017   6:41 PM            363 tsconfig.json
-a----         8/6/2017   6:41 PM           3040 tslint.json


PS C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp\angular2> npm install bootstrap@3
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ bootstrap@3.3.7
added 115 packages in 38.349s
PS C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp\angular2> npm install fuelux

> fuelux@3.16.1 postinstall C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp\angular2\node_modules\fuelux
> node postinstall.js

npm WARN eslint-plugin-react@7.1.0 requires a peer of eslint@^3.0.0 || ^4.0.0 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ fuelux@3.16.1
added 123 packages in 41.355s
PS C:\Users\rober\scoop\persist\nodejs\bin\src\main\webapp\angular2> ng serve
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200 **
Hash: 8def4bc946069b57c465
Time: 14233ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 178 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 5.34 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 10.5 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 2.19 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
webpack: Compiled successfully.



 ***************

@angular/cli 

Angular CLI

CLI for Angular applications based on the ember-cli project.

Build Status CircleCI branch Dependency Status devDependency Status
npm npm npm npm
Join the chat at https://gitter.im/angular/angular-cli Caretaker
GitHub forks GitHub stars

Note

The CLI is now in 1.0. If you are updating from a beta or RC version, check out our 1.0 Update Guide.
If you wish to collaborate, check out our issue list.
Before submitting new issues, have a look at issues marked with the type: faq label.

Prerequisites

Both the CLI and generated project have dependencies that require Node 6.9.0 or higher, together with NPM 3 or higher.

Table of Contents

Installation

BEFORE YOU INSTALL: please read the prerequisites
npm install -g @angular/cli

Usage

ng help

Generating and serving an Angular project via a development server

ng new PROJECT-NAME
cd PROJECT-NAME
ng serve
Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
You can configure the default HTTP host and port used by the development server with two command-line options :
ng serve --host 0.0.0.0 --port 4201

Generating Components, Directives, Pipes and Services

You can use the ng generate (or just ng g) command to generate Angular components:
ng generate component my-new-component
ng g component my-new-component # using the alias
# components support relative path generation
# if in the directory src/app/feature/ and you run
ng g component new-cmp
# your component will be generated in src/app/feature/new-cmp
# but if you were to run
ng g component ../newer-cmp
# your component will be generated in src/app/newer-cmp
# if in the directory src/app you can also run
ng g component feature/new-cmp
# and your component will be generated in src/app/feature/new-cmp
You can find all possible blueprints in the table below:
scaffoldusage
Componentng g component my-new-component
Directiveng g directive my-new-directive
Pipeng g pipe my-new-pipe
Serviceng g service my-new-service
Classng g class my-new-class
Guardng g guard my-new-guard
Interfaceng g interface my-new-interface
Enumng g enum my-new-enum
Moduleng g module my-module
angular-cli will add reference to componentsdirectives and pipes automatically in the app.module.ts. If you need to add this references to another custom module, follow this steps:
  1. ng g module new-module to create a new module
  2. call ng g component new-module/new-component
This should add the new componentdirective or pipe reference to the new-module you've created.

Updating Angular CLI

If you're using Angular CLI 1.0.0-beta.28 or less, you need to uninstall angular-cli package. It should be done due to changing of package's name and scope from angular-cli to @angular/cli:
npm uninstall -g angular-cli
npm uninstall --save-dev angular-cli
To update Angular CLI to a new version, you must update both the global package and your project's local package.
Global package:
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli@latest
Local project package:
rm -rf node_modules dist # use rmdir /S/Q node_modules dist in Windows Command Prompt; use rm -r -fo node_modules,dist in Windows PowerShell
npm install --save-dev @angular/cli@latest
npm install
If you are updating to 1.0 from a beta or RC version, check out our 1.0 Update Guide.
You can find more details about changes between versions in CHANGELOG.md.

Development Hints for working on Angular CLI

Working with master

git clone https://github.com/angular/angular-cli.git
cd angular-cli
npm link
npm link is very similar to npm install -g except that instead of downloading the package from the repo, the just cloned angular-cli/ folder becomes the global package. Additionally, this repository publishes several packages and we use special logic to load all of them on development setups.
Any changes to the files in the angular-cli/ folder will immediately affect the global @angular/clipackage, allowing you to quickly test any changes you make to the cli project.
Now you can use @angular/cli via the command line:
ng new foo
cd foo
npm link @angular/cli
ng serve
npm link @angular/cli is needed because by default the globally installed @angular/cli just loads the local @angular/cli from the project which was fetched remotely from npm. npm link @angular/cli symlinks the global @angular/cli package to the local @angular/cli package. Now the angular-cli you cloned before is in three places: The folder you cloned it into, npm's folder where it stores global packages and the Angular CLI project you just created.
You can also use ng new foo --link-cli to automatically link the @angular/cli package.
Please read the official npm-link documentation and the npm-link cheatsheet for more information.
To run the Angular CLI test suite use the node tests/run_e2e.js command. It can also receive a filename to only run that test (e.g. node tests/run_e2e.js tests/e2e/tests/build/dev-build.ts).
As part of the test procedure, all packages will be built and linked. You will need to re-run npm link to re-link the development Angular CLI environment after tests finish.

Documentation

The documentation for the Angular CLI is located in this repo's wiki.

License


 compilacion en tiempo real


********************

TOUR OF HEROES



***********

correcto deploy
C:\Users\RPerez>ng
Available Commands:
  add Adds support for an external library to your project.
  analytics Configures the gathering of Angular CLI usage metrics. See https://v8.angular.io/cli/usage-analytics-gathering.
  build (b) Compiles an Angular app into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.
  deploy Invokes the deploy builder for a specified project or for the default project in the workspace.
  config Retrieves or sets Angular configuration values in the angular.json file for the workspace.
  doc (d) Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.
  e2e (e) Builds and serves an Angular app, then runs end-to-end tests using Protractor.
  generate (g) Generates and/or modifies files based on a schematic.
  help Lists available commands and their short descriptions.
  lint (l) Runs linting tools on Angular app code in a given project folder.
  new (n) Creates a new workspace and an initial Angular app.
  run Runs an Architect target with an optional custom builder configuration defined in your project.
  serve (s) Builds and serves your app, rebuilding on file changes.
  test (t) Runs unit tests in a project.
  update Updates your application and its dependencies. See https://update.angular.io/
  version (v) Outputs Angular CLI version.
  xi18n (i18n-extract) Extracts i18n messages from source code.

For more detailed help run "ng [command name] --help"

C:\Users\RPerez>CD C:\Users\RPerez\AppData\Roaming\npm>
The syntax of the command is incorrect.

C:\Users\RPerez>cd C:\Users\RPerez\AppData\Roaming\npm>
The syntax of the command is incorrect.

C:\Users\RPerez>cd C:\Users\RPerez\AppData\Roaming\npm

C:\Users\RPerez\AppData\Roaming\npm>ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 9.1.0
Node: 12.16.1
OS: win32 x64

Angular:
...
Ivy Workspace:

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.901.0
@angular-devkit/core         9.1.0
@angular-devkit/schematics   9.1.0
@schematics/angular          9.1.0
@schematics/update           0.901.0
rxjs                         6.5.4


C:\Users\RPerez\AppData\Roaming\npm>ng new hello-world
? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? CSS
CREATE hello-world/angular.json (3606 bytes)
CREATE hello-world/package.json (1287 bytes)
CREATE hello-world/README.md (1027 bytes)
CREATE hello-world/tsconfig.json (489 bytes)
CREATE hello-world/tslint.json (3125 bytes)
CREATE hello-world/.editorconfig (274 bytes)
CREATE hello-world/.gitignore (631 bytes)
CREATE hello-world/browserslist (429 bytes)
CREATE hello-world/karma.conf.js (1023 bytes)
CREATE hello-world/tsconfig.app.json (210 bytes)
CREATE hello-world/tsconfig.spec.json (270 bytes)
CREATE hello-world/src/favicon.ico (948 bytes)
CREATE hello-world/src/index.html (296 bytes)
CREATE hello-world/src/main.ts (372 bytes)
CREATE hello-world/src/polyfills.ts (2835 bytes)
CREATE hello-world/src/styles.css (80 bytes)
CREATE hello-world/src/test.ts (753 bytes)
CREATE hello-world/src/assets/.gitkeep (0 bytes)
CREATE hello-world/src/environments/environment.prod.ts (51 bytes)
CREATE hello-world/src/environments/environment.ts (662 bytes)
CREATE hello-world/src/app/app-routing.module.ts (246 bytes)
CREATE hello-world/src/app/app.module.ts (393 bytes)
CREATE hello-world/src/app/app.component.html (25755 bytes)
CREATE hello-world/src/app/app.component.spec.ts (1074 bytes)
CREATE hello-world/src/app/app.component.ts (215 bytes)
CREATE hello-world/src/app/app.component.css (0 bytes)
CREATE hello-world/e2e/protractor.conf.js (808 bytes)
CREATE hello-world/e2e/tsconfig.json (214 bytes)
CREATE hello-world/e2e/src/app.e2e-spec.ts (644 bytes)
CREATE hello-world/e2e/src/app.po.ts (301 bytes)
√ Packages installed successfully.
warning: LF will be replaced by CRLF in .editorconfig.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in angular.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in browserslist.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/protractor.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/src/app.e2e-spec.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/src/app.po.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/tsconfig.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in karma.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package-lock.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app-routing.module.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.spec.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.module.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/environments/environment.prod.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/environments/environment.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/main.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/polyfills.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/styles.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/test.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tsconfig.app.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tsconfig.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tsconfig.spec.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tslint.json.
The file will have its original line endings in your working directory
    Successfully initialized git.


C:\Users\RPerez\AppData\Roaming\npm>


}}}}}}}}}}}}}}}}}}}}}}}}

C:\Users\RPerez\Desktop\aprendizaje tecnica en omnitracs\angular crash course\2020-03-30 22_52_52-RO.png

C:\Users\RPerez\AppData\Roaming\npm>cd hello-world

C:\Users\RPerez\AppData\Roaming\npm\hello-world>ng serve
? Would you like to share anonymous usage data about this project with the Angular Team at
Google under Google’s Privacy Policy at https://policies.google.com/privacy? For more
details and how to change this setting, see http://angular.io/analytics. Yes

Thank you for sharing anonymous usage data. Would you change your mind, the following
command will disable this feature entirely:

    ng analytics project off

Compiling @angular/animations : es2015 as esm2015
Compiling @angular/compiler/testing : es2015 as esm2015
Compiling @angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/animations/browser : es2015 as esm2015
Compiling @angular/core/testing : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/common/testing : es2015 as esm2015
Compiling @angular/platform-browser/testing : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/animations/browser/testing : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/platform-browser/animations : es2015 as esm2015
Compiling @angular/common/http/testing : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015
Compiling @angular/router/testing : es2015 as esm2015

chunk {main} main.js, main.js.map (main) 60.6 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 141 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 9.78 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 2.99 MB [initial] [rendered]
Date: 2020-03-31T04:51:07.397Z - Hash: 042acd02f3727be6d526 - Time: 11459ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
: Compiled successfully.

“Everyone should know how to code a computer, because it teaches you how to think!” – Steve Jobs

Microsoft Windows [Version 10.0.18362.657]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\RPerez>npm install -g typescript
C:\Users\RPerez\AppData\Roaming\npm\tsc -> C:\Users\RPerez\AppData\Roaming\npm\node_modules\typescript\bin\tsc
C:\Users\RPerez\AppData\Roaming\npm\tsserver -> C:\Users\RPerez\AppData\Roaming\npm\node_modules\typescript\bin\tsserver
+ typescript@3.8.3
added 1 package from 1 contributor in 2.684s

C:\Users\RPerez>tsc
Version 3.8.3
Syntax:   tsc [options] [file...]

Examples: tsc hello.ts
          tsc --outFile file.js file.ts
          tsc @args.txt
          tsc --build tsconfig.json

Options:
 -h, --help                                         Print this message.
 -w, --watch                                        Watch input files.
 --pretty                                           Stylize errors and messages using color and context (experimental).
 --all                                              Show all compiler options.
 -v, --version                                      Print the compiler's version.
 --init                                             Initializes a TypeScript project and creates a tsconfig.json file.
 -p FILE OR DIRECTORY, --project FILE OR DIRECTORY  Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.
 -b, --build                                        Build one or more projects and their dependencies, if out of date
 -t VERSION, --target VERSION                       Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'.
 -m KIND, --module KIND                             Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'.
 --lib                                              Specify library files to be included in the compilation.
                                                      'es5' 'es6' 'es2015' 'es7' 'es2016' 'es2017' 'es2018' 'es2019' 'es2020' 'esnext' 'dom' 'dom.iterable' 'webworker' 'webworker.importscripts' 'scripthost' 'es2015.core' 'es2015.collection' 'es2015.generator' 'es2015.iterable' 'es2015.promise' 'es2015.proxy' 'es2015.reflect' 'es2015.symbol' 'es2015.symbol.wellknown' 'es2016.array.include' 'es2017.object' 'es2017.sharedmemory' 'es2017.string' 'es2017.intl' 'es2017.typedarrays' 'es2018.asyncgenerator' 'es2018.asynciterable' 'es2018.intl' 'es2018.promise' 'es2018.regexp' 'es2019.array' 'es2019.object' 'es2019.string' 'es2019.symbol' 'es2020.bigint' 'es2020.promise' 'es2020.string' 'es2020.symbol.wellknown' 'esnext.array' 'esnext.symbol' 'esnext.asynciterable' 'esnext.intl' 'esnext.bigint'
 --allowJs                                          Allow javascript files to be compiled.
 --jsx KIND                                         Specify JSX code generation: 'preserve', 'react-native', or 'react'.
 -d, --declaration                                  Generates corresponding '.d.ts' file.
 --declarationMap                                   Generates a sourcemap for each corresponding '.d.ts' file.
 --sourceMap                                        Generates corresponding '.map' file.
 --outFile FILE                                     Concatenate and emit output to single file.
 --outDir DIRECTORY                                 Redirect output structure to the directory.
 --removeComments                                   Do not emit comments to output.
 --noEmit                                           Do not emit outputs.
 --strict                                           Enable all strict type-checking options.
 --noImplicitAny                                    Raise error on expressions and declarations with an implied 'any' type.
 --strictNullChecks                                 Enable strict null checks.
 --strictFunctionTypes                              Enable strict checking of function types.
 --strictBindCallApply                              Enable strict 'bind', 'call', and 'apply' methods on functions.
 --strictPropertyInitialization                     Enable strict checking of property initialization in classes.
 --noImplicitThis                                   Raise error on 'this' expressions with an implied 'any' type.
 --alwaysStrict                                     Parse in strict mode and emit "use strict" for each source file.
 --noUnusedLocals                                   Report errors on unused locals.
 --noUnusedParameters                               Report errors on unused parameters.
 --noImplicitReturns                                Report error when not all code paths in function return a value.
 --noFallthroughCasesInSwitch                       Report errors for fallthrough cases in switch statement.
 --types                                            Type declaration files to be included in compilation.
 --esModuleInterop                                  Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.
 @<file>                                            Insert command line options and files from a file.

C:\Users\RPerez>

C:\Users\RPerez>tsc --version
Version 3.8.3

C:\Users\RPerez>mkdir ts-hello

C:\Users\RPerez>cd ts-hello

C:\Users\RPerez\ts-hello>tsc main.ts

C:\Users\RPerez\ts-hello>ls
'ls' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\RPerez\ts-hello>dir
 Volume in drive C has no label.
 Volume Serial Number is 66D9-5D66

 Directory of C:\Users\RPerez\ts-hello

03/31/2020  09:43 AM    <DIR>          .
03/31/2020  09:43 AM    <DIR>          ..
03/31/2020  09:43 AM               100 main.js
03/31/2020  09:43 AM                98 main.ts
               2 File(s)            198 bytes
               2 Dir(s)  288,140,886,016 bytes free

C:\Users\RPerez\ts-hello>node main.js
Hello World

C:\Users\RPerez\ts-hello>tsc main2.ts | node main.js
Hello World

C:\Users\RPerez\ts-hello>
C:\Users\RPerez\ts-hello>tsc main2.ts | node main2.js
0
1
2
3
4
Finally: 5

C:\Users\RPerez\ts-hello>ng g c course
The generate command requires to be run in an Angular project, but a project definition could not be found.

C:\Users\RPerez\ts-hello>cd ..

C:\Users\RPerez>cd AppData

C:\Users\RPerez\AppData>dir
 Volume in drive C has no label.
 Volume Serial Number is 66D9-5D66

 Directory of C:\Users\RPerez\AppData

03/25/2020  10:38 AM    <DIR>          Local
03/18/2020  12:21 AM    <DIR>          LocalLow
03/30/2020  10:45 PM    <DIR>          Roaming
               0 File(s)              0 bytes
               3 Dir(s)  270,398,001,152 bytes free

C:\Users\RPerez\AppData>cd Roaming

C:\Users\RPerez\AppData\Roaming>dir
 Volume in drive C has no label.
 Volume Serial Number is 66D9-5D66

 Directory of C:\Users\RPerez\AppData\Roaming

03/30/2020  10:45 PM    <DIR>          .
03/30/2020  10:45 PM    <DIR>          ..
02/27/2020  02:05 PM    <DIR>          Adobe
02/27/2020  01:59 PM    <DIR>          ATI
03/31/2020  11:14 AM    <DIR>          Code
03/24/2020  04:47 PM    <DIR>          CrashPlan
03/03/2020  04:01 PM    <DIR>          Docker
03/16/2020  09:27 PM    <DIR>          FileZilla Server
03/04/2020  10:33 AM    <DIR>          Greenshot
03/02/2020  02:33 PM    <DIR>          Hewlett-Packard
02/27/2020  01:59 PM    <DIR>          hpqLog
02/27/2020  02:04 PM    <DIR>          Microsoft Teams
03/04/2020  12:59 PM    <DIR>          Microsoft Visual Studio
03/12/2020  10:56 AM    <DIR>          Notepad++
03/31/2020  09:40 AM    <DIR>          npm
03/31/2020  09:40 AM    <DIR>          npm-cache
03/04/2020  12:56 PM    <DIR>          NuGet
02/27/2020  02:04 PM    <DIR>          Pulse Secure
03/02/2020  03:49 PM    <DIR>          Skype
03/04/2020  11:52 AM    <DIR>          Sun
03/04/2020  01:07 PM    <DIR>          Visual Studio Setup
03/27/2020  10:31 PM    <DIR>          vlc
03/30/2020  09:44 PM    <DIR>          VMware
03/04/2020  12:59 PM    <DIR>          vstelemetry
03/05/2020  11:43 AM    <DIR>          WinRAR
               0 File(s)              0 bytes
              25 Dir(s)  270,395,846,656 bytes free

C:\Users\RPerez\AppData\Roaming>cd "Notepad++"

C:\Users\RPerez\AppData\Roaming\Notepad++>cd ..

C:\Users\RPerez\AppData\Roaming>cd npm

C:\Users\RPerez\AppData\Roaming\npm>cd hello-world

C:\Users\RPerez\AppData\Roaming\npm\hello-world>ng g c course
CREATE src/app/course/course.component.html (21 bytes)
CREATE src/app/course/course.component.spec.ts (628 bytes)
CREATE src/app/course/course.component.ts (275 bytes)
CREATE src/app/course/course.component.css (0 bytes)
UPDATE src/app/app.module.ts (545 bytes)

C:\Users\RPerez\AppData\Roaming\npm\hello-world>ng g s email
CREATE src/app/email.service.spec.ts (352 bytes)
CREATE src/app/email.service.ts (134 bytes)

C:\Users\RPerez\AppData\Roaming\npm\hello-world>npm install bootstrap --save
npm WARN bootstrap@4.4.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.4.1 requires a peer of popper.js@^1.16.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\watchpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ bootstrap@4.4.1
added 1 package from 2 contributors, removed 1 package and audited 14592 packages in 22.678s

48 packages are looking for funding
  run `npm fund` for details

found 2 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

C:\Users\RPerez\AppData\Roaming\npm\hello-world>npm install
npm WARN bootstrap@4.4.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.4.1 requires a peer of popper.js@^1.16.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\watchpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 14592 packages in 15.655s

48 packages are looking for funding
  run `npm fund` for details

found 2 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details

C:\Users\RPerez\AppData\Roaming\npm\hello-world>

***********************+

Microsoft Windows [Version 10.0.18362.657]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\RPerez>ng
Available Commands:
  add Adds support for an external library to your project.
  analytics Configures the gathering of Angular CLI usage metrics. See https://v8.angular.io/cli/usage-analytics-gathering.
  build (b) Compiles an Angular app into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.
  deploy Invokes the deploy builder for a specified project or for the default project in the workspace.
  config Retrieves or sets Angular configuration values in the angular.json file for the workspace.
  doc (d) Opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.
  e2e (e) Builds and serves an Angular app, then runs end-to-end tests using Protractor.
  generate (g) Generates and/or modifies files based on a schematic.
  help Lists available commands and their short descriptions.
  lint (l) Runs linting tools on Angular app code in a given project folder.
  new (n) Creates a new workspace and an initial Angular app.
  run Runs an Architect target with an optional custom builder configuration defined in your project.
  serve (s) Builds and serves your app, rebuilding on file changes.
  test (t) Runs unit tests in a project.
  update Updates your application and its dependencies. See https://update.angular.io/
  version (v) Outputs Angular CLI version.
  xi18n (i18n-extract) Extracts i18n messages from source code.

For more detailed help run "ng [command name] --help"

C:\Users\RPerez>CD C:\Users\RPerez\AppData\Roaming\npm>
The syntax of the command is incorrect.

C:\Users\RPerez>cd C:\Users\RPerez\AppData\Roaming\npm>
The syntax of the command is incorrect.

C:\Users\RPerez>cd C:\Users\RPerez\AppData\Roaming\npm

C:\Users\RPerez\AppData\Roaming\npm>ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 9.1.0
Node: 12.16.1
OS: win32 x64

Angular:
...
Ivy Workspace:

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.901.0
@angular-devkit/core         9.1.0
@angular-devkit/schematics   9.1.0
@schematics/angular          9.1.0
@schematics/update           0.901.0
rxjs                         6.5.4


C:\Users\RPerez\AppData\Roaming\npm>ng new hello-world
? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use? CSS
CREATE hello-world/angular.json (3606 bytes)
CREATE hello-world/package.json (1287 bytes)
CREATE hello-world/README.md (1027 bytes)
CREATE hello-world/tsconfig.json (489 bytes)
CREATE hello-world/tslint.json (3125 bytes)
CREATE hello-world/.editorconfig (274 bytes)
CREATE hello-world/.gitignore (631 bytes)
CREATE hello-world/browserslist (429 bytes)
CREATE hello-world/karma.conf.js (1023 bytes)
CREATE hello-world/tsconfig.app.json (210 bytes)
CREATE hello-world/tsconfig.spec.json (270 bytes)
CREATE hello-world/src/favicon.ico (948 bytes)
CREATE hello-world/src/index.html (296 bytes)
CREATE hello-world/src/main.ts (372 bytes)
CREATE hello-world/src/polyfills.ts (2835 bytes)
CREATE hello-world/src/styles.css (80 bytes)
CREATE hello-world/src/test.ts (753 bytes)
CREATE hello-world/src/assets/.gitkeep (0 bytes)
CREATE hello-world/src/environments/environment.prod.ts (51 bytes)
CREATE hello-world/src/environments/environment.ts (662 bytes)
CREATE hello-world/src/app/app-routing.module.ts (246 bytes)
CREATE hello-world/src/app/app.module.ts (393 bytes)
CREATE hello-world/src/app/app.component.html (25755 bytes)
CREATE hello-world/src/app/app.component.spec.ts (1074 bytes)
CREATE hello-world/src/app/app.component.ts (215 bytes)
CREATE hello-world/src/app/app.component.css (0 bytes)
CREATE hello-world/e2e/protractor.conf.js (808 bytes)
CREATE hello-world/e2e/tsconfig.json (214 bytes)
CREATE hello-world/e2e/src/app.e2e-spec.ts (644 bytes)
CREATE hello-world/e2e/src/app.po.ts (301 bytes)
√ Packages installed successfully.
warning: LF will be replaced by CRLF in .editorconfig.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in angular.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in browserslist.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/protractor.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/src/app.e2e-spec.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/src/app.po.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/tsconfig.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in karma.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package-lock.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app-routing.module.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.spec.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.module.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/environments/environment.prod.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/environments/environment.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/main.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/polyfills.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/styles.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/test.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tsconfig.app.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tsconfig.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tsconfig.spec.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tslint.json.
The file will have its original line endings in your working directory
    Successfully initialized git.

C:\Users\RPerez\AppData\Roaming\npm>dir
 Volume in drive C has no label.
 Volume Serial Number is 66D9-5D66

 Directory of C:\Users\RPerez\AppData\Roaming\npm

03/30/2020  10:42 PM    <DIR>          .
03/30/2020  10:42 PM    <DIR>          ..
03/30/2020  10:44 PM    <DIR>          hello-world
03/30/2020  09:47 PM               344 ng
03/30/2020  09:47 PM               289 ng.cmd
03/30/2020  09:47 PM               514 ng.ps1
03/30/2020  09:59 PM    <DIR>          node_modules
               3 File(s)          1,147 bytes
               4 Dir(s)  291,697,487,872 bytes free

C:\Users\RPerez\AppData\Roaming\npm>cd hello-world

C:\Users\RPerez\AppData\Roaming\npm\hello-world>ng serve
? Would you like to share anonymous usage data about this project with the Angular Team at
Google under Google’s Privacy Policy at https://policies.google.com/privacy? For more
details and how to change this setting, see http://angular.io/analytics. Yes

Thank you for sharing anonymous usage data. Would you change your mind, the following
command will disable this feature entirely:

    ng analytics project off

Compiling @angular/animations : es2015 as esm2015
Compiling @angular/compiler/testing : es2015 as esm2015
Compiling @angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/animations/browser : es2015 as esm2015
Compiling @angular/core/testing : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/common/testing : es2015 as esm2015
Compiling @angular/platform-browser/testing : es2015 as esm2015
Compiling @angular/common/http : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
Compiling @angular/animations/browser/testing : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/platform-browser/animations : es2015 as esm2015
Compiling @angular/common/http/testing : es2015 as esm2015
Compiling @angular/forms : es2015 as esm2015
Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015
Compiling @angular/router/testing : es2015 as esm2015

chunk {main} main.js, main.js.map (main) 60.6 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 141 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 9.78 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 2.99 MB [initial] [rendered]
Date: 2020-03-31T04:51:07.397Z - Hash: 042acd02f3727be6d526 - Time: 11459ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
: Compiled successfully.

Date: 2020-03-31T05:06:20.827Z - Hash: 2742c942a4ff80235a32
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 60.6 kB [initial] [rendered]
Time: 689ms
: Compiled successfully.

Date: 2020-03-31T05:06:50.001Z - Hash: 0f75fa63d70f14cc62b3
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 60.7 kB [initial] [rendered]
Time: 486ms
: Compiled successfully.

Date: 2020-03-31T17:17:58.836Z - Hash: a620cf1f103d8676e215
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 61 kB [initial] [rendered]
Time: 1496ms
: Compiled successfully.

Date: 2020-03-31T17:18:00.535Z - Hash: f76a72e67af386b0da8f
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 62.8 kB [initial] [rendered]
Time: 1269ms
: Compiled successfully.

    ERROR in src/app/app.component.html:345:4 - error NG8001: 'courses' is not a known element:
    1. If 'courses' is an Angular component, then verify that it is part of this module.
    2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.

    345    <courses></courses>
           ~~~~~~~~~~~~~~~~~~~

      src/app/app.component.ts:5:16
        5   templateUrl: './app.component.html',
                         ~~~~~~~~~~~~~~~~~~~~~~
        Error occurs in the template of component AppComponent.


Date: 2020-03-31T17:21:59.615Z - Hash: 2092dfa0f8908e630e01
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 63.1 kB [initial] [rendered]
Time: 427ms
: Compiled successfully.

Date: 2020-03-31T17:22:29.198Z - Hash: 77563b4bf2e38f31632c
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 63.1 kB [initial] [rendered]
Time: 264ms
: Compiled successfully.

Date: 2020-03-31T17:34:25.814Z - Hash: b6e0bf7caba2cccc688b
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 65.3 kB [initial] [rendered]
Time: 570ms
: Compiled successfully.

Date: 2020-03-31T17:39:43.718Z - Hash: bae6540d93e2e7b84bbb
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 65.5 kB [initial] [rendered]
Time: 510ms
: Compiled successfully.

Date: 2020-03-31T17:40:32.595Z - Hash: 46dd3bf55956ea0b31c9
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 65.5 kB [initial] [rendered]
Time: 280ms
: Compiled successfully.

Date: 2020-03-31T17:42:58.154Z - Hash: 7f633a1966cd6ce5c3e7
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 65.6 kB [initial] [rendered]
Time: 552ms
: Compiled successfully.

Date: 2020-03-31T18:16:15.212Z - Hash: 7ffc3f0ddafb09dd6640
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 66.9 kB [initial] [rendered]
Time: 379ms
: Compiled successfully.

Date: 2020-03-31T18:24:30.853Z - Hash: f1b64e94fda8c1935423
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 67.5 kB [initial] [rendered]
Time: 543ms
: Compiled successfully.

    ERROR in src/app/courses.component.ts:2:32 - error TS2306: File 'C:/Users/RPerez/AppData/Roaming/npm/hello-world/src/app/courses.service.ts' is not a module.

    2 import { CoursesService } from './courses.service';
                                     ~~~~~~~~~~~~~~~~~~~


Date: 2020-03-31T18:24:56.177Z - Hash: b24c889ded7d928de63b
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 67.7 kB [initial] [rendered]
Time: 155ms
: Compiled successfully.

Date: 2020-03-31T18:25:00.837Z - Hash: f577568a241c99fc8106
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 67.7 kB [initial] [rendered]
Time: 393ms
: Compiled successfully.

Date: 2020-03-31T18:26:05.568Z - Hash: 3cd551564f0db55c95d9
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 67.7 kB [initial] [rendered]
Time: 143ms
: Compiled successfully.

Date: 2020-03-31T18:27:07.618Z - Hash: c869111ed25ff2aadaee
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 67.7 kB [initial] [rendered]
Time: 253ms
: Compiled successfully.

Date: 2020-03-31T18:35:39.062Z - Hash: c4f5da854c65092d603e
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 67.8 kB [initial] [rendered]
Time: 257ms
: Compiled successfully.

Date: 2020-03-31T18:36:33.531Z - Hash: bf70697a915f66afc725
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 68.2 kB [initial] [rendered]
Time: 582ms
: Compiled successfully.

Date: 2020-03-31T18:36:50.620Z - Hash: 1835d31b093ae1271370
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 67.9 kB [initial] [rendered]
Time: 308ms
: Compiled successfully.

Date: 2020-03-31T18:37:00.057Z - Hash: bf70697a915f66afc725
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 68.2 kB [initial] [rendered]
Time: 233ms
: Compiled successfully.

Date: 2020-03-31T18:54:37.315Z - Hash: 3d4d97deba110ed50ce0
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 68.9 kB [initial] [rendered]
Time: 445ms
: Compiled successfully.

Date: 2020-03-31T18:55:45.125Z - Hash: 818d8e1f7ea586eb65df
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 68.9 kB [initial] [rendered]
Time: 268ms
: Compiled successfully.

Date: 2020-03-31T18:56:35.214Z - Hash: 77de8f975d9aa1fb8cd0
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 68.9 kB [initial] [rendered]
Time: 247ms
: Compiled successfully.

Date: 2020-03-31T19:37:09.614Z - Hash: 30b536f0f992aa33a296
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 69.5 kB [initial] [rendered]
Time: 5519ms
: Compiled successfully.

Date: 2020-03-31T19:37:10.837Z - Hash: 314f4fd0b74165861ac0
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 69.5 kB [initial] [rendered]
Time: 882ms
: Compiled successfully.


*************

Microsoft Windows [Version 10.0.18362.657]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\RPerez>NODE
Welcome to Node.js v12.16.1.
Type ".help" for more information.
>
(To exit, press ^C again or ^D or type .exit)
> QUIT
Uncaught ReferenceError: QUIT is not defined

No hay comentarios:

Publicar un comentario

Blogger Widgets