question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Service worker generation failed. Update to version 13

See original GitHub issue

Which @angular/* package(s) are the source of the bug?

service-worker

Is this a regression?

Yes

Description

I get this error message on build after updating to version 13 .

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

✖ Service worker generation failed.
Must use import to load ES Module: ................../node_modules/@angular/service-worker/fesm2015/config.mjs

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
blueiceprjcommented, Nov 4, 2021

Thank you for your quick reply

1reaction
alan-agius4commented, Nov 4, 2021

You are using a third-party builder package @angular-builders/custom-webpack. This package is not maintained or supported by the Angular team and is likely not compatible with Angular 13

Please contact the author(s) of the @angular-builders/custom-webpack project or file an issue on their issue tracker.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Service worker generation failed. Update to version 13 #22089
I get this error message on build after updating to version 13 . Please provide a link to a minimal reproduction of the...
Read more >
Angular Error when project building since service worker is ...
I finally found a solution .. I updated my project .. (ng update) ...
Read more >
Fixing Manifest and Service Worker Generation Failed Error
Fixing Manifest and Service Worker Generation Failed Error · Go to WordPress Dashboard > Settings > Permalinks. · Do not forget to restart...
Read more >
Angular Service Worker - Step-By-Step Guide
Step 5 - Launching an Angular PWA in Production Mode; Step 6 - Deploying a new Application Version, Understanding Version Management; Step 7...
Read more >
Service worker in production - Angular
The current version becomes non-valid due to a failed hash; An unrelated error causes the service worker to enter safe mode and deactivates...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found