René's URL Explorer Experiment


Title: @angular/pwa cannot refresh pwa after rebuild - Driver. (ngsw-worker.js:1988) property 'id' of undefined · Issue #23742 · angular/angular · GitHub

Open Graph Title: @angular/pwa cannot refresh pwa after rebuild - Driver. (ngsw-worker.js:1988) property 'id' of undefined · Issue #23742 · angular/angular

X Title: @angular/pwa cannot refresh pwa after rebuild - Driver. (ngsw-worker.js:1988) property 'id' of undefined · Issue #23742 · angular/angular

Description: I'm submitting a... [x] Bug report Current behavior I create a new angular 6 project with the cli and adding the pwa with ng add @angular/pwa I run ng build --prod I run http-server -p 8080 dist/angular6/ current behavior: the app starts...

Open Graph Description: I'm submitting a... [x] Bug report Current behavior I create a new angular 6 project with the cli and adding the pwa with ng add @angular/pwa I run ng build --prod I run http-server -p 8080 dist/an...

X Description: I'm submitting a... [x] Bug report Current behavior I create a new angular 6 project with the cli and adding the pwa with ng add @angular/pwa I run ng build --prod I run http-server -p 8080 dis...

Opengraph URL: https://github.com/angular/angular/issues/23742

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@angular/pwa cannot refresh pwa after rebuild - Driver.\u003canonymous> (ngsw-worker.js:1988) property 'id' of undefined","articleBody":"## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" -->\r\n\u003cpre>\u003ccode>[x] Bug report\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\n1) I create a new angular 6 project with the cli and adding the pwa with `ng add  @angular/pwa`\r\n2) I run `ng build --prod`\r\n3) I run `http-server -p 8080 dist/angular6/`\r\n\r\ncurrent behavior: the app starts at http://localhost:8080/ and i can see the browser downloading all the files including the service workers, if i put the browser offline i can still see the app and the resources fetched by the sw.\r\n\r\n4) I change the html of the app.component.html\r\n5) I run `ng build --prod`\r\n6) I run `http-server -p 8080 dist/angular6/`\r\n7) Refresh the browser in http://localhost:8080/\r\n\r\nI get this error: \r\n\r\n```\r\nngsw-worker.js:1988 Uncaught (in promise) TypeError: Cannot read property 'id' of undefined\r\n    at Driver.\u003canonymous> (ngsw-worker.js:1988)\r\n    at Generator.next (\u003canonymous>)\r\n    at __awaiter (ngsw-worker.js:1755)\r\n    at new Promise (\u003canonymous>)\r\n    at __awaiter (ngsw-worker.js:1751)\r\n    at Driver.updateClient (ngsw-worker.js:1985)\r\n    at Driver.\u003canonymous> (ngsw-worker.js:2224)\r\n    at Generator.next (\u003canonymous>)\r\n    at fulfilled (ngsw-worker.js:1752)\r\n```\r\n\r\n## Environment\r\n\r\n\u003cpre>\u003ccode>\r\n{\r\n  \"name\": \"angular6\",\r\n  \"version\": \"0.0.0\",\r\n  \"scripts\": {\r\n    \"ng\": \"ng\",\r\n    \"start\": \"ng serve\",\r\n    \"build\": \"ng build --prod\",\r\n    \"sw\":\"http-server -p 8080 dist/angular6/\",\r\n    \"test\": \"ng test\",\r\n    \"lint\": \"ng lint\",\r\n    \"e2e\": \"ng e2e\"\r\n  },\r\n  \"private\": true,\r\n  \"dependencies\": {\r\n    \"@angular/animations\": \"^6.0.0\",\r\n    \"@angular/common\": \"^6.0.0\",\r\n    \"@angular/compiler\": \"^6.0.0\",\r\n    \"@angular/core\": \"^6.0.0\",\r\n    \"@angular/forms\": \"^6.0.0\",\r\n    \"@angular/http\": \"^6.0.0\",\r\n    \"@angular/platform-browser\": \"^6.0.0\",\r\n    \"@angular/platform-browser-dynamic\": \"^6.0.0\",\r\n    \"@angular/pwa\": \"^0.6.0\",\r\n    \"@angular/router\": \"^6.0.0\",\r\n    \"core-js\": \"^2.5.4\",\r\n    \"rxjs\": \"^6.0.0\",\r\n    \"zone.js\": \"^0.8.26\",\r\n    \"@angular/service-worker\": \"^6.0.0\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@angular/compiler-cli\": \"^6.0.0\",\r\n    \"@angular-devkit/build-angular\": \"~0.6.0\",\r\n    \"typescript\": \"~2.7.2\",\r\n    \"@angular/cli\": \"~6.0.0\",\r\n    \"@angular/language-service\": \"^6.0.0\",\r\n    \"@types/jasmine\": \"~2.8.6\",\r\n    \"@types/jasminewd2\": \"~2.0.3\",\r\n    \"@types/node\": \"~8.9.4\",\r\n    \"codelyzer\": \"~4.2.1\",\r\n    \"jasmine-core\": \"~2.99.1\",\r\n    \"jasmine-spec-reporter\": \"~4.2.1\",\r\n    \"karma\": \"~1.7.1\",\r\n    \"karma-chrome-launcher\": \"~2.2.0\",\r\n    \"karma-coverage-istanbul-reporter\": \"~1.4.2\",\r\n    \"karma-jasmine\": \"~1.1.1\",\r\n    \"karma-jasmine-html-reporter\": \"^0.2.2\",\r\n    \"protractor\": \"~5.3.0\",\r\n    \"ts-node\": \"~5.0.1\",\r\n    \"tslint\": \"~5.9.1\"\r\n  }\r\n}\r\n\r\n\r\nBrowser:\r\n- [x] Chrome (desktop) version 66.0.3359.139\r\n \r\nFor Tooling issues:\r\n- Node version: 10.0.0\r\n- NPM version: 6.0.0\r\n- Platform:  OSX\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/andreaveronesi","@type":"Person","name":"andreaveronesi"},"datePublished":"2018-05-07T09:23:50Z","url":"https://github.com/angular/angular/issues/23742"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:874bc800-e7c6-7873-c1d1-7acf39bc4476
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEDB8:3CBB3E:AD09DD:DB5BFC:6B013107
html-safe-nonce00598a4af6200bbf527415b2d1a70dc2d236aee2c460d3bf4ce2e6ab25d1a123
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREI4OjNDQkIzRTpBRDA5REQ6REI1QkZDOjZCMDEzMTA3IiwidmlzaXRvcl9pZCI6IjUwMDA3Nzk1OTczMzIxNjQ4NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca9892dcdc84520acf6095eb26b04f72c31cd226c0141723fb31980c0826da590
hovercard-subject-tagissue:320734717
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/23742/issue_layout
twitter:imagehttps://opengraph.githubassets.com/22fbddb2dd6c5968693314cb82cca33ea4d2fe71a416d417a76148d5528bdd2e/angular/angular/issues/23742
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/22fbddb2dd6c5968693314cb82cca33ea4d2fe71a416d417a76148d5528bdd2e/angular/angular/issues/23742
og:image:altI'm submitting a... [x] Bug report Current behavior I create a new angular 6 project with the cli and adding the pwa with ng add @angular/pwa I run ng build --prod I run http-server -p 8080 dist/an...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandreaveronesi
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/23742#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F23742
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F23742
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/23742
Reloadhttps://github.com/angular/angular/issues/23742
Reloadhttps://github.com/angular/angular/issues/23742
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/23742
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/23742
@angular/pwa cannot refresh pwa after rebuild - Driver. (ngsw-worker.js:1988) property 'id' of undefinedhttps://github.com/angular/angular/issues/23742#top
area: service-workerIssues related to the @angular/service-worker packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20service-worker%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/andreaveronesi
andreaveronesihttps://github.com/andreaveronesi
on May 7, 2018https://github.com/angular/angular/issues/23742#issue-320734717
http://localhost:8080/http://localhost:8080/
http://localhost:8080/http://localhost:8080/
https://github.com/niikoo
niikoohttps://github.com/niikoo
on May 8, 2018https://github.com/angular/angular/issues/23742#issuecomment-387325338
https://github.com/aavelyn
aavelynhttps://github.com/aavelyn
on May 8, 2018https://github.com/angular/angular/issues/23742#issuecomment-387340793
https://stackoverflow.com/questions/50161482/angular-cli-update-service-worker-id-of-undefined-errorhttps://stackoverflow.com/questions/50161482/angular-cli-update-service-worker-id-of-undefined-error
@niikoohttps://github.com/niikoo
mheveryhttps://github.com/mhevery
area: service-workerIssues related to the @angular/service-worker packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20service-worker%22
on May 8, 2018https://github.com/angular/angular/issues/23742#event-1616438061
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on May 8, 2018https://github.com/angular/angular/issues/23742#event-1616438100
https://github.com/ratfury
ratfuryhttps://github.com/ratfury
on May 9, 2018https://github.com/angular/angular/issues/23742#issuecomment-387653580
https://github.com/Kristian1138
Kristian1138https://github.com/Kristian1138
on May 9, 2018https://github.com/angular/angular/issues/23742#issuecomment-387687360
angular-cli/issues/8779https://github.com/angular/angular-cli/issues/8779
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on May 9, 2018https://github.com/angular/angular/issues/23742#issuecomment-387690165
#23526https://github.com/angular/angular/issues/23526
#23625https://github.com/angular/angular/pull/23625
gkalpakhttps://github.com/gkalpak
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 9, 2018https://github.com/angular/angular/issues/23742#event-1617261363
https://github.com/walle233
walle233https://github.com/walle233
on May 16, 2018https://github.com/angular/angular/issues/23742#issuecomment-389428362
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on May 16, 2018https://github.com/angular/angular/issues/23742#issuecomment-389569592
@walle233https://github.com/walle233
https://github.com/walle233
walle233https://github.com/walle233
on Jun 8, 2018https://github.com/angular/angular/issues/23742#issuecomment-395722659
@gkalpakhttps://github.com/gkalpak
ademidunhttps://github.com/ademidun
on Aug 6, 2018https://github.com/angular/angular/issues/23742#event-1771807129
update serviceworker fix clientID issue and update manifest.jsonhttps://github.com/ademidun/atila-angular/commit/8501eb3e64bf0d59eb06f611bc923c4b71d8553b
8501eb3https://github.com/ademidun/atila-angular/commit/8501eb3e64bf0d59eb06f611bc923c4b71d8553b
https://github.com/gaetanmallet
gaetanmallethttps://github.com/gaetanmallet
on Sep 28, 2018https://github.com/angular/angular/issues/23742#issuecomment-425345198
https://github.com/gaetanmallet
gaetanmallethttps://github.com/gaetanmallet
on Sep 28, 2018https://github.com/angular/angular/issues/23742#issuecomment-425346463
@walle233https://github.com/walle233
https://github.com/gaetanmallet
gaetanmallethttps://github.com/gaetanmallet
on Sep 28, 2018https://github.com/angular/angular/issues/23742#issuecomment-425378235
@walle233https://github.com/walle233
@gkalpakhttps://github.com/gkalpak
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 14, 2019https://github.com/angular/angular/issues/23742#issuecomment-531439710
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 14, 2019https://github.com/angular/angular/issues/23742#event-2633891807
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/23742
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/23742
area: service-workerIssues related to the @angular/service-worker packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20service-worker%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.