ERROR IN THE INSTALLATION OF ANGULAR IO IN WINDOWS?

1

Goodnight I have node and npm installed in the latest versions but when installing angular with: npm install -g @angular/cli I get the error sigt:

  

C: \ WINDOWS \ system32 & nt; npm install -g @ angular / cli   C: \ Users \ David-Eduardo \ AppData \ Roaming \ npm \ ng - > C: \ Users \ David-Eduardo \ AppData \ Roaming \ npm \ node_modules \ @angular \ cli \ bin \ ng   npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules \ @angular \ cli \ node_modules \ fsevents):   npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os": "darwin", "arch": "any"} (current: {"os": "win32", "arch": "x64"})

     

+ @ angular / [email protected]   added 115 packages and updated 1 package in 66.648s

GOOD THE TRUTH I DO NOT KNOW IF IT WOULD BE ERROR OR NOT INSTALLED OR NOSE BUT SEE THAT HOW KNOW IF INSTALLED CORRECTLY OR IF YOU DO NOT MISS ME? THANKS IN ADVANCE.

WHERE ARE THE FILES THAT ANGULAR PUT OR IF THEY ARE INSTALLED WELL INSTALLED?

    
asked by DavidIjsud 08.01.2018 в 03:21
source

1 answer

1

Install successfully.

Now, try the following commands.

ng --version //Permite ver la versión instalada

Location of Angular: C:\Users\David-Eduardo\AppData\Roaming\npm\node_modules\

To create your first project you can use:

ng new my-app //Crea tu primer proyecto
  

It may take a while for ng new until you install and create the project.

Go to the folder where your project was created ( cd my-app ) and execute the following:

ng serve // Servirá tu proyecto en http://localhost:4200
ng serve -o // Servirá tu proyecto en http://localhost:4200 y abre el navegador
    
answered by 08.01.2018 / 03:34
source