-
Notifications
You must be signed in to change notification settings - Fork 12k
ng add @angular/pwa fails with 'Invalid rule result: Function().' #11663
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
Comments
@mruknowme Do you have a solution yet. Am having the same issue. |
Same problem here. 6.1.0 doesnt work either (different error). I tried to downgrade and got this. |
You should to use @angular/[email protected]. Goodluck! |
Sounds similar to #11640 (although the error message is different). |
This is due to a new feature in Schematics that you can now return a We will release a patch that will fix this, but in the meantime you can update |
@hansl after updating now I get "Path "/ngsw-config.json" already exist." |
Same problem, i thing there is bugs in [email protected], you need to use lower version, after that works fine |
@hansl I am using @angular-devkit/schematics 0.7.1. I still get same error. @odineshrao I tried installing lower version [email protected] but still get same error. Do you know which lower version work proper? |
@odineshrao 0.6.8 worked. |
Hi guys, with 0.6.8 version I get |
The solutions that worked for me in the end was from sksvenson https://stackoverflow.com/questions/51555017/path-ngsw-config-json-already-exists
|
The solution that worked for me is to downgrade to version 6.0.0. |
none of these solution works. how come when i do |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Repro steps
The log given by the failure
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: