-
Notifications
You must be signed in to change notification settings - Fork 12k
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
ng add @angular/pwa doesn't create service worker script #12098
Comments
any workarounds for this? |
any update for this issue? at the moment @angular/pwa doesn't work with cli |
I faced the same issue now and I saw that the @angular/pwa package that ng add command installs is the latest one (0.10.5 as of this writing), whereas we are developing using Angular v6.x and if I install the v6-lts tagged version mentioned here: https://www.npmjs.com/package/@angular/pwa?activeTab=versions then the ng add command succeeds which was previously failing with a call stack size exceeded error. The command I ran was |
See #12914 |
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. |
From @phl3x0r on May 17, 2018 9:6
Bug Report or Feature Request (mark with an
x
)Area
Versions
Repro steps
create a new project, then run
ng add @angular/pwa
serve the app in production mode.
The log given by the failure
Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script.
Desired functionality
should work out of the box, without manually installing other packages or changing paths
Mention any other details that might be useful
Copied from original issue: angular/devkit#931
The text was updated successfully, but these errors were encountered: