Angular-cli: ng add @angular/pwa --project broken in 6.1.0-rc.0

Created on 5 Jul 2018  路  6Comments  路  Source: angular/angular-cli

Bug Report or Feature Request (mark with an x)

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

Area

- [ x] devkit
- [x ] schematics

Versions

node --version v8.9.1

npm --version 5.5.1

Windows 10

Repro steps

Generate new project:

ng new Temp
add @angular/pwa

ng add @angular/pwa --project Temp

and it will throw the below error:

Schematic input does not validate against the Schema: {"project":"Temp","target":"build","configuration":"production","title":"Temp"}
Errors:

  Data path "" should NOT have additional properties(title).

Desired functionality

It should work.

angulapwa

Most helpful comment

I can confirm this happens with @angular/[email protected] as well.

All 6 comments

I can confirm this happens with @angular/[email protected] as well.

This is also happening with @angular/[email protected]

existing in cli 6.1.1

@angular/pwa works find in latest (beta) versions (see https://github.com/angular/angular-cli/issues/11640#issuecomment-410638864).

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JanStureNielsen picture JanStureNielsen  路  3Comments

hareeshav picture hareeshav  路  3Comments

daBishMan picture daBishMan  路  3Comments

delasteve picture delasteve  路  3Comments

rajjejosefsson picture rajjejosefsson  路  3Comments