0% found this document useful (0 votes)
24 views4 pages

Angular File Creating Steps

The document describes setting up a new Angular application using the Angular CLI and generating a new component. It outputs details of the files and folders created during setup and component generation.

Uploaded by

Nitesh Hu
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
0% found this document useful (0 votes)
24 views4 pages

Angular File Creating Steps

The document describes setting up a new Angular application using the Angular CLI and generating a new component. It outputs details of the files and folders created during setup and component generation.

Uploaded by

Nitesh Hu
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1/ 4

S C:\Users\Maruthi D\Desktop\rooman Angular> ng new registerlogin

? Would you like to add Angular routing? Yes


? Which stylesheet format would you like to use? CSS
CREATE registerlogin/angular.json (3081 bytes)
CREATE registerlogin/package.json (1077 bytes)
CREATE registerlogin/README.md (1060 bytes)
CREATE registerlogin/tsconfig.json (783 bytes)
CREATE registerlogin/.editorconfig (274 bytes)
CREATE registerlogin/.gitignore (604 bytes)
CREATE registerlogin/.browserslistrc (703 bytes)
CREATE registerlogin/karma.conf.js (1430 bytes)
CREATE registerlogin/tsconfig.app.json (287 bytes)
CREATE registerlogin/tsconfig.spec.json (333 bytes)
CREATE registerlogin/src/favicon.ico (948 bytes)
CREATE registerlogin/src/index.html (299 bytes)
CREATE registerlogin/src/main.ts (372 bytes)
CREATE registerlogin/src/polyfills.ts (2820 bytes)
CREATE registerlogin/src/styles.css (80 bytes)
CREATE registerlogin/src/test.ts (788 bytes)
CREATE registerlogin/src/assets/.gitkeep (0 bytes)
CREATE registerlogin/src/environments/environment.prod.ts (51 bytes)
CREATE registerlogin/src/environments/environment.ts (658 bytes)
CREATE registerlogin/src/app/app-routing.module.ts (245 bytes)
CREATE registerlogin/src/app/app.module.ts (393 bytes)
CREATE registerlogin/src/app/app.component.html (24617 bytes)
CREATE registerlogin/src/app/app.component.spec.ts (1094 bytes)
CREATE registerlogin/src/app/app.component.ts (217 bytes)
CREATE registerlogin/src/app/app.component.css (0 bytes)
✔ Packages installed successfully.
warning: in the working copy of '.browserslistrc', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of '.editorconfig', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next
time Git touches it
warning: in the working copy of 'README.md', LF will be replaced by CRLF the next
time Git touches it
warning: in the working copy of 'angular.json', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of 'karma.conf.js', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of 'package-lock.json', LF will be replaced by CRLF
the next time Git touches it
warning: in the working copy of 'package.json', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of 'src/app/app-routing.module.ts', LF will be
replaced by CRLF the next time Git touches it
warning: in the working copy of 'src/app/app.component.html', LF will be replaced
by CRLF the next time Git touches it
warning: in the working copy of 'src/app/app.component.spec.ts', LF will be
replaced by CRLF the next time Git touches it
warning: in the working copy of 'src/app/app.component.ts', LF will be replaced by
CRLF the next time Git touches it
warning: in the working copy of 'src/app/app.module.ts', LF will be replaced by
CRLF the next time Git touches it
warning: in the working copy of 'src/environments/environment.prod.ts', LF will be
replaced by CRLF the next time Git touches it
warning: in the working copy of 'src/environments/environment.ts', LF will be
replaced by CRLF the next time Git touches it
warning: in the working copy of 'src/index.html', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of 'src/main.ts', LF will be replaced by CRLF the next
time Git touches it
warning: in the working copy of 'src/polyfills.ts', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of 'src/styles.css', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of 'src/test.ts', LF will be replaced by CRLF the next
time Git touches it
warning: in the working copy of 'tsconfig.app.json', LF will be replaced by CRLF
the next time Git touches it
warning: in the working copy of 'tsconfig.json', LF will be replaced by CRLF the
next time Git touches it
warning: in the working copy of 'tsconfig.spec.json', LF will be replaced by CRLF
the next time Git touches it
Author identity unknown

*** Please tell me who you are.

Run

git config --global user.email "you@example.com"


git config --global user.name "Your Name"

to set your account's default identity.


Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'Maruthi D@Maruthi.(none)')


PS C:\Users\Maruthi D\Desktop\rooman Angular> cd registerlogin
PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin> cd app
cd : Cannot find path 'C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\app'
because it does not exist.
At line:1 char:1
+ cd app
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\Maruth...gisterlogin\
app:String) [Set-Location], ItemNotFoundException
+ FullyQualifiedErrorId :
PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin> cd src


PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\src> cd app
PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\src\app> cd components
PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\src\app\components> ng g
c registerlogin
? 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 https://angular.io/analytics. Yes

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

ng analytics project off

CREATE src/app/components/registerlogin/registerlogin.component.html (28 bytes)


CREATE src/app/components/registerlogin/registerlogin.component.spec.ts (675 bytes)
CREATE src/app/components/registerlogin/registerlogin.component.ts (303 bytes)
CREATE src/app/components/registerlogin/registerlogin.component.css (0 bytes)
UPDATE src/app/app.module.ts (514 bytes)
PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\src\app\components>
cd ..
PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\src\app> cd....
cd.... : The term 'cd....' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ cd....
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (cd....:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\src\app> cd ...


cd : An object at the specified path C:\Users\Maruthi D\Desktop\rooman Angular\
registerlogin\src\app\... does not exist.
At line:1 char:1
+ cd ...
+ ~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-Location],
PSArgumentException
+ FullyQualifiedErrorId :
Argument,Microsoft.PowerShell.Commands.SetLocationCommand

PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\src\app> cd ..


PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin\src> cd ..
PS C:\Users\Maruthi D\Desktop\rooman Angular\registerlogin> ng serve
⠋ Generating browser application bundles (phase: setup)...Compiling
@angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
✔ Browser application bundle generation complete.

Initial Chunk Files | Names | Size


vendor.js | vendor | 2.44 MB
polyfills.js | polyfills | 549.32 kB
styles.css, styles.js | styles | 425.06 kB
main.js | main | 63.84 kB
runtime.js | runtime | 6.63 kB

| Initial Total | 3.46 MB

Build at: 2024-03-13T12:24:30.219Z - Hash: 0a88c56d38c5e9ba8857 - Time: 15879ms

** Angular Live Development Server is listening on localhost:4200, open your


browser on http://localhost:4200/ **

√ Compiled successfully.
✔ Browser application bundle generation complete.

5 unchanged chunks
Build at: 2024-03-13T12:24:31.179Z - Hash: 697bdc3839bccbd98b69 - Time: 458ms

√ Compiled successfully.

You might also like