Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a new project fails - ng new PROJECT-NAME #12732

Closed
fad250 opened this issue Oct 24, 2018 · 5 comments
Closed

Creating a new project fails - ng new PROJECT-NAME #12732

fad250 opened this issue Oct 24, 2018 · 5 comments

Comments

@fad250
Copy link

fad250 commented Oct 24, 2018

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [x] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Angular CLI: 7.0.2
Node: 8.11.1
OS: win32 x64

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.10.2
@angular-devkit/core         7.0.2
@angular-devkit/schematics   7.0.2
@schematics/angular          7.0.2
@schematics/update           0.10.2
rxjs                         6.3.3
typescript                   3.1.3

Repro steps

The log given by the failure

Schematic input does not validate against the Schema: {"name":"test"}
Errors:

  Data path "" should have required property 'version'.

Desired functionality

A new project is created

@alan-agius4
Copy link
Collaborator

alan-agius4 commented Oct 24, 2018

Duplicate of #12690

@alan-agius4 alan-agius4 marked this as a duplicate and then as not a duplicate of #12733 Oct 24, 2018
@alan-agius4 alan-agius4 marked this as a duplicate of #12690 Oct 24, 2018
@rafaelzuckerberg
Copy link

Run "npm update" and after run "ng new your-project --version=7.3.6"

@yogeshdotnet
Copy link

yogeshdotnet commented Apr 29, 2019

HI,
This issue may be resolved by applying the following command in cmd.

npm i @schematics/angular@latest --save-dev

after applying this no need to write version after angular 7 project name just write
ng new ang-project-name

For Online Angular Training please visit https://www.yogeshdotnet.com

@Rajeshpeyala
Copy link

HI,
This issue may be resolved by applying the following command in cmd.

npm i @schematics/angular@latest --save-dev

after applying this no need to write version after angular 7 project name just write
ng new ang-project-name

For Online Angular Training please visit https://www.yogeshdotnet.com

It's solved my issue. Thank you so much Sir

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants