angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

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

Open naveedahmed1 opened this issue 8 years ago • 6 comments

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.

naveedahmed1 avatar Jul 05 '18 15:07 naveedahmed1

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

tobi-or-not-tobi avatar Jul 12 '18 10:07 tobi-or-not-tobi

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

rrahul14 avatar Jul 18 '18 06:07 rrahul14

Possibly related: https://github.com/angular/angular-cli/issues/11640

bave8672 avatar Jul 25 '18 01:07 bave8672

existing in cli 6.1.1

lexcaraig avatar Aug 02 '18 02:08 lexcaraig

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

gkalpak avatar Aug 08 '18 19:08 gkalpak

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.