[6.0.0-rc.7] ng new fail
See original GitHub issueVersions
Angular CLI: 6.0.0-rc.7
Node: 8.11.1
OS: linux x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.5.10
@angular-devkit/core 0.5.10
@angular-devkit/schematics 0.5.10
@ngtools/json-schema 1.1.0
@schematics/angular 0.5.10
@schematics/update 0.5.10
rxjs 6.0.0
typescript 2.7.2
Repro steps
ng new project-name
Observed behavior
pc@mantyz:~/dev/node$ ng new project-name
This command can not be run inside of a CLI project.
Desired behavior
Angular-cli must create a project.
Mention any other details that might be useful (optional)
ng new
work with cli v6.0.0-rc.6
The project is successfully created relative to the “/”(root) directory, but is not created relative to the “/home/username” and subdir.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10
Top Results From Across the Web
Angular project build fail only on GitHub Actions
Try to downgrade your CLI version or use --force flag when you ng update . As stated in the Angular Doc. [--force] Ignore...
Read more >How To Update Angular CLI To Latest Version
To update Angular CLI to latest version Angular, use ng update ... First update to Angular CLI 6 version and then Angular CLI...
Read more >Error configuring Universal Angular
I have the following error when configuring universal angular with mdbootstrap. apply all ... "build:client-and-server-bundles": "ng build --prod && ng run ...
Read more >Resolved: This version of CLI is compatible with Angular ...
Angular CLI ng build command gives below error, ... (Example- Angular 5 or 6 or 7 or 8 apps to the Latest (Ex....
Read more >[Bug] Suite tool stopped generating Angular UI for me #3777
I tried to update to latest rc version my cli and suite also a project, ... "@volo/abp.commercial.ng.ui": "6.0.0-rc.4", "@volo/abp.ng.account": "6.0.0-rc.4" ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dimitrijuchtmans, thank you. Yea, the directory “
/home/username
” contained anangular cli.json
file.On RC9, I can confirm this is still happening. Had to remove the
.angular.json
file in my home directory to get it to work.