Angular cli for existing github project
I'm new to Angular 2 CLI. As per tutorial, there is command provided called. "ng create ". my scenario is creating project in existing directory. it throw error like below Directory 'angular-basic' already exists.
Try ng init will create project inside your existing directory then do ng serve. ng init <project-name> [options] Creates a new Angular project in the current folder. Options: --dry-run only output the files created and operations performed, do not actually create the project. Alias: 'd'. --verbose output more information. Alias: 'v'. --skip-npm do not run any npm command once the project is created. --name The name of the project to create. For New Angular 2.x Project ng new foo cd foo npm link angular-cli ng serve Refer: https://cli.angular.io/reference.pdf
Since the ng init command is removed from the CLI commands what you can do is specify the directory. You might have to do some overwrites and modifications by yourself for some of the existing files. You can pull it off with ng new [app_name] --directory=directory_path_from_wherever_command_goes] Example assume that your terminal is opened in angular-basic directory and you have to add the cli to angular-basic project, ng new angular-basic --directory ./../angular-basic would do better.
addons removed in angular-cli.json whats the replacement
angular-cli: ng serve command with config error
Augury Angular-cli When I installed the augury .Error is as follows
Teamcity for building Angular cli app
angular cli update issue on local folder
Access to -aot parameter in code
Missing peer dependencies after installing latest angular-cli: What to do?
angular-cli ng serve : Error: No errors
Getting error after Angular cli update
Does angular-cli uses rollup to do ahead-of-time compilation and adding all into one file?
Angular CLI install error
Using glob for assets in angular-cli throws error
Importing Global SCSS into Component SCSS with Angular-CLI
Error during AOT build with angular-cli 24 and Angular 2.4.1
Add importer to node-sass in angular-cli project
angular-cli#1.0.0-beta.23 (2016-12-15) NOT on npm