René's URL Explorer Experiment


Title: Angular 10, HMR not working (blank page) · Issue #2243 · NativeScript/nativescript-angular · GitHub

Open Graph Title: Angular 10, HMR not working (blank page) · Issue #2243 · NativeScript/nativescript-angular

X Title: Angular 10, HMR not working (blank page) · Issue #2243 · NativeScript/nativescript-angular

Description: Environment tns info: √ Component nativescript has 7.0.6 version and is up to date. √ Component @nativescript/core has 7.0.0 version and is up to date. × Component @nativescript/ios is not installed. √ Component @nativescript/android has...

Open Graph Description: Environment tns info: √ Component nativescript has 7.0.6 version and is up to date. √ Component @nativescript/core has 7.0.0 version and is up to date. × Component @nativescript/ios is not installe...

X Description: Environment tns info: √ Component nativescript has 7.0.6 version and is up to date. √ Component @nativescript/core has 7.0.0 version and is up to date. × Component @nativescript/ios is not installe...

Mail addresses
oss@nativescript.org

Opengraph URL: https://github.com/NativeScript/nativescript-angular/issues/2243

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular 10, HMR not working (blank page)","articleBody":"**Environment**\r\ntns info:\r\n√ Component nativescript has 7.0.6 version and is up to date.\r\n√ Component @nativescript/core has 7.0.0 version and is up to date.\r\n× Component @nativescript/ios is not installed.\r\n√ Component @nativescript/android has 7.0.0 version and is up to date.\r\n\r\n**package.json**\r\n{\r\n  \"name\": \"@nativescript/template-hello-world-ng\",\r\n  \"main\": \"main.js\",\r\n  \"version\": \"7.0.2\",\r\n  \"author\": \"NativeScript Team \u003coss@nativescript.org\u003e\",\r\n  \"description\": \"NativeScript Application\",\r\n  \"license\": \"SEE LICENSE IN \u003cyour-license-filename\u003e\",\r\n  \"publishConfig\": {\r\n    \"access\": \"public\"\r\n  },\r\n  \"keywords\": [\r\n    \"nativescript\",\r\n    \"mobile\",\r\n    \"angular\",\r\n    \"{N}\",\r\n    \"template\"\r\n  ],\r\n  \"repository\": \"\u003cfill-your-repository-here\u003e\",\r\n  \"bugs\": {\r\n    \"url\": \"https://github.com/NativeScript/NativeScript/issues\"\r\n  },\r\n  \"scripts\": {\r\n    \"ngcc\": \"ngcc --properties es2015 module main --first-only\",\r\n    \"postinstall\": \"npm run ngcc\"\r\n  },\r\n  \"dependencies\": {\r\n    \"@angular/animations\": \"~10.1.0\",\r\n    \"@angular/common\": \"~10.1.0\",\r\n    \"@angular/compiler\": \"~10.1.0\",\r\n    \"@angular/core\": \"~10.1.0\",\r\n    \"@angular/forms\": \"~10.1.0\",\r\n    \"@angular/platform-browser\": \"~10.1.0\",\r\n    \"@angular/platform-browser-dynamic\": \"~10.1.0\",\r\n    \"@angular/router\": \"~10.1.0\",\r\n    \"@nativescript/angular\": \"~10.1.0\",\r\n    \"@nativescript/core\": \"~7.0.0\",\r\n    \"@nativescript/theme\": \"~2.3.0\",\r\n    \"reflect-metadata\": \"~0.1.12\",\r\n    \"rxjs\": \"^6.6.0\",\r\n    \"zone.js\": \"~0.11.1\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@angular/compiler-cli\": \"~10.1.0\",\r\n    \"@nativescript/android\": \"7.0.0\",\r\n    \"@nativescript/types\": \"~7.0.0\",\r\n    \"@nativescript/webpack\": \"~3.0.0\",\r\n    \"@ngtools/webpack\": \"~10.1.0\",\r\n    \"typescript\": \"~3.9.0\"\r\n  },\r\n  \"private\": \"true\",\r\n  \"readme\": \"NativeScript Application\"\r\n}\r\n\r\n\r\n**Describe the bug**\r\nHMR not working on Android (IOS not tested). No error reported, but application screen is blanked.\r\n\r\n**To Reproduce**\r\ncreate a sample application with **angular** and **Hello world** template :\r\n`nsc create sampleapp`\r\n\r\nbuild and launch application:\r\n`tns debug android --watch`\r\n\r\nThe application is built and displayed on device (emulator)\r\nNow modify file [src\\app\\item\\items.component.html] changing, for example, the ActionBar title\r\nThe change is detected, but when hot updates are applied the app screen is blanked.\r\n\r\nThis is the output (no errors):\r\nFile change detected. Starting incremental webpack compilation...\r\nHash: bd62e71f13914cafaf7a\r\nVersion: webpack 4.44.1\r\nTime: 496ms\r\nBuilt at: 2020-09-08 14:24:47\r\n                                    Asset      Size   Chunks                               Chunk Names\r\n     792ff4769056012fc631.hot-update.json  48 bytes           [emitted] [immutable] [hmr]\r\nbundle.792ff4769056012fc631.hot-update.js  7.24 KiB   bundle  [emitted] [immutable] [hmr]  bundle\r\n                                bundle.js  44.8 KiB   bundle  [emitted]                    bundle\r\n                               runtime.js  77.1 KiB  runtime  [emitted]                    runtime\r\n + 1 hidden asset\r\nEntrypoint bundle = runtime.js vendor.js bundle.js bundle.792ff4769056012fc631.hot-update.js\r\n[../$$_lazy_route_resource lazy recursive] ../$$_lazy_route_resource lazy namespace object 160 bytes {bundle} [built]\r\n[./app/item/items.component.ts] 1.92 KiB {bundle} [built]\r\n    + 555 hidden modules\r\nWebpack compilation complete. Watching for file changes.\r\nWebpack build done!\r\nSuccessfully transferred bundle.792ff4769056012fc631.hot-update.js on device emulator-5554.\r\nSuccessfully transferred 792ff4769056012fc631.hot-update.json on device emulator-5554.\r\nJS: HMR: Checking for updates to the bundle with hmr hash 792ff4769056012fc631.\r\nJS: HMR: The following modules were updated:\r\nJS: HMR:          ↻ ./app/item/items.component.ts\r\nJS: HMR:          ↻ ./app/app-routing.module.ts\r\nJS: HMR:          ↻ ./app/app.module.ts\r\nJS: HMR: Successfully applied update with hmr hash 792ff4769056012fc631. App is up to date.\r\nRefreshing application on device emulator-5554...\r\nJS: Angular is running in development mode. Call enableProdMode() to enable production mode.\r\ndevice: emulator-5554 debug port: 40000\r\n\r\nTo start debugging, open the following URL in Chrome:\r\ndevtools://devtools/bundled/inspector.html?ws=localhost:40000\r\n\r\nSuccessfully synced application org.nativescript.sampleapp on device emulator-5554.\r\n\r\n**Expected behavior**\r\nHMR working as in previous release\r\n\r\n","author":{"url":"https://github.com/ptomasini","@type":"Person","name":"ptomasini"},"datePublished":"2020-09-08T12:50:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/2243/nativescript-angular/issues/2243"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:858b0855-a980-b265-e2af-0f21049b2a20
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC120:3D95EB:3F96D0:53D2D8:696B3F28
html-safe-nonce3ef7bcf30126bdf2f2afb61e5310d5131532ed193ca4682c214c547b60f21b56
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTIwOjNEOTVFQjozRjk2RDA6NTNEMkQ4OjY5NkIzRjI4IiwidmlzaXRvcl9pZCI6Ijc1MzkxMjgyNzczODEzNjU1NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6f79a628b1cd21c32200011ac0f4c9576a9e8dd132870dfa5408342a6a96642d
hovercard-subject-tagissue:695842459
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/NativeScript/nativescript-angular/2243/issue_layout
twitter:imagehttps://opengraph.githubassets.com/189b717120c667fa524b26d1769347ac3b383f871acfd9cb00b441afe7cfe3b5/NativeScript/nativescript-angular/issues/2243
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/189b717120c667fa524b26d1769347ac3b383f871acfd9cb00b441afe7cfe3b5/NativeScript/nativescript-angular/issues/2243
og:image:altEnvironment tns info: √ Component nativescript has 7.0.6 version and is up to date. √ Component @nativescript/core has 7.0.0 version and is up to date. × Component @nativescript/ios is not installe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameptomasini
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-angular git https://github.com/NativeScript/nativescript-angular.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id35951404
octolytics-dimension-repository_nwoNativeScript/nativescript-angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id35951404
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-angular/issues/2243#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-angular%2Fissues%2F2243
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-angular%2Fissues%2F2243
Sign up https://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=NativeScript%2Fnativescript-angular
Reloadhttps://github.com/NativeScript/nativescript-angular/issues/2243
Reloadhttps://github.com/NativeScript/nativescript-angular/issues/2243
Reloadhttps://github.com/NativeScript/nativescript-angular/issues/2243
NativeScript https://github.com/NativeScript
nativescript-angularhttps://github.com/NativeScript/nativescript-angular
Please reload this pagehttps://github.com/NativeScript/nativescript-angular/issues/2243
Notifications https://github.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Fork 240 https://github.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Star 1.2k https://github.com/login?return_to=%2FNativeScript%2Fnativescript-angular
Code https://github.com/NativeScript/nativescript-angular
Issues 294 https://github.com/NativeScript/nativescript-angular/issues
Pull requests 2 https://github.com/NativeScript/nativescript-angular/pulls
Actions https://github.com/NativeScript/nativescript-angular/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/NativeScript/nativescript-angular/security
Please reload this pagehttps://github.com/NativeScript/nativescript-angular/issues/2243
Insights https://github.com/NativeScript/nativescript-angular/pulse
Code https://github.com/NativeScript/nativescript-angular
Issues https://github.com/NativeScript/nativescript-angular/issues
Pull requests https://github.com/NativeScript/nativescript-angular/pulls
Actions https://github.com/NativeScript/nativescript-angular/actions
Security https://github.com/NativeScript/nativescript-angular/security
Insights https://github.com/NativeScript/nativescript-angular/pulse
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-angular/issues/2243
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-angular/issues/2243
#2317https://github.com/NativeScript/nativescript-angular/pull/2317
Angular 10, HMR not working (blank page)https://github.com/NativeScript/nativescript-angular/issues/2243#top
#2317https://github.com/NativeScript/nativescript-angular/pull/2317
https://github.com/ptomasini
https://github.com/ptomasini
ptomasinihttps://github.com/ptomasini
on Sep 8, 2020https://github.com/NativeScript/nativescript-angular/issues/2243#issue-695842459
https://github.com/NativeScript/NativeScript/issueshttps://github.com/NativeScript/NativeScript/issues
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.