x)- [X] bug report -> please search issues before submitting
- [ ] feature request
x)- [X ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Angular CLI: 7.0.0-beta.2
Node: 10.10.0
OS: linux x64
(ng new doesn't have other versions yet)
ng new newProjecct

A new project ;)
same here. Angular CLI: 7.0.0-beta.2 on windows 10
I am unable to replicate this. Any help to replicate this would be appreciated.
c:\git\cli-repos\test î‚°
λ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ â–³ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 7.0.0-beta.2
Node: 10.3.0
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.9.0-beta.2
@angular-devkit/core 0.9.0-beta.2
@angular-devkit/schematics 0.9.0-beta.2
@schematics/angular 0.9.0-beta.2
@schematics/update 0.9.0-beta.2
rxjs 6.2.2
typescript 3.0.3
c:\git\cli-repos\test î‚°
λ ng new testNg --next
? Would you like to generate a routing module? (y/N)
Following a convo with @SanderElias, It might be that there is a hidden .angular.json.
Kindly try to check if that's the case by executing ls -a in a terminal in the same directory that you are trying to using the ng new command.
I had the same issue but it was a .angular.json in my home directory. So you should walk up the parent directories from the place where you ran ng new and locate/delete that file.
Renaming this to be the thing Hans said he would do to fix.
I can confirm that there was a stray (hidden) .angular.json 3 level's up the folder tree.
This error would be much more useful if it points to the location + name of the config it detected.
Still got this error when trying from c:\ with no .angular.json or .angular.json there.
There was an .angular.json in c:\users\<my-win-username>. removing it solved the issue. Where it came from? and why it affected ng new in all locations?
same on win10
same
win 10.
Just downloaded the new version 7.1.0 and can confirm this issue still exists. The angular.json file appeared in the directory where I tried to run the ng new command. I could see it by running ls -a as suggested. When I deleted it I was able to run the ng new command again and successfully generate a project.
Just downloaded the new version 7.1.0 and can confirm this issue still exists. The angular.json file appeared in the directory where I tried to run the ng new command. I could see it by running ls -a as suggested. When I deleted it I was able to run the ng new command again and successfully generate a project.
I can confirm. The same thing happens to me with 7.1.0
Can we re-open this?

Angular CLI: 7.0.4
Node: 10.13.0
OS: win32 x64
Angular: 2.4.10
... compiler, compiler-cli, core
@angular-devkit/architect 0.10.4
@angular-devkit/core 7.0.4
@angular-devkit/schematics 7.0.4
@angular/cdk 2.0.0-beta.12
@angular/cli 7.0.4
@angular/tsc-wrapped 0.5.2
@ngtools/json-schema 1.1.0
@ngtools/webpack 1.10.2
@schematics/angular 7.0.4
@schematics/update 0.10.4
rxjs 6.3.3
typescript 3.1.6
webpack 2.2.0
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Following a convo with @SanderElias, It might be that there is a hidden
.angular.json.Kindly try to check if that's the case by executing
ls -ain a terminal in the same directory that you are trying to using theng newcommand.