Someone could guide me to know why I can not generate a new project with the new version of angular 7
Desired result:
ng new firebase-auth ? Would you like to add Angular routing? No ? Which stylesheet format would you like to use? CSS
obtained result:
$ ng new appAtlas
CREATE appAtlas/angular.json (3786 bytes)
CREATE appAtlas/package.json (1316 bytes)
CREATE appAtlas/README.md (1025 bytes)
CREATE appAtlas/tsconfig.json (408 bytes)
CREATE appAtlas/tslint.json (2837 bytes)
CREATE appAtlas/.editorconfig (245 bytes)
CREATE appAtlas/.gitignore (503 bytes)
CREATE appAtlas/src/favicon.ico (5430 bytes)
....
CREATE appAtlas/e2e/src/app.po.ts (208 bytes)
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, fl atted is its successor.
Angular cli version
$ ng --version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 7.0.5
Node: 10.13.0
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.10.5
@angular-devkit/core 7.0.5
@angular-devkit/schematics 7.0.5
@schematics/angular 7.0.5
@schematics/update 0.10.5
rxjs 6.3.3
typescript 3.1.6
Node, npm version
$ node -v
v10.13.0
$ npm --version
6.4.1
At the basic level, routing allows angular to display different "pages" or components. You probably want to have it, if you want to navigate across pages in your application. It shouldn't hurt anything if you add it, but don't use it.
ng newlink. Creates a new Angular workspace.
Routing in Angular allows the users to create a single-page application with multiple views and allows navigation between them. Users can switch between these views without losing the application state and properties.
Have you tried another terminal?
I noticed I get the interactive prompts when I use Windows Command Prompt (CMD), but I don't get them in Cygwin. Even if I use ng new new_project --interactive=true
, Cygwin just skips the prompts and goes with the default options similar to your screenshot.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With