René's URL Explorer Experiment


Title: ReferenceError: window is not defined for https://angular.ganatan.com/leaflet · Issue #3 · ganatan/angular-node-java · GitHub

Open Graph Title: ReferenceError: window is not defined for https://angular.ganatan.com/leaflet · Issue #3 · ganatan/angular-node-java

X Title: ReferenceError: window is not defined for https://angular.ganatan.com/leaflet · Issue #3 · ganatan/angular-node-java

Description: I had problems with leaflet module to build correctly in SSR. Apparently, you had too. ReferenceError: window is not defined window isn't here in SSR, but leaflet try to implements some functions directly in source. var requestFn = windo...

Open Graph Description: I had problems with leaflet module to build correctly in SSR. Apparently, you had too. ReferenceError: window is not defined window isn't here in SSR, but leaflet try to implements some functions d...

X Description: I had problems with leaflet module to build correctly in SSR. Apparently, you had too. ReferenceError: window is not defined window isn't here in SSR, but leaflet try to implements some functio...

Opengraph URL: https://github.com/ganatan/angular-node-java/issues/3

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ReferenceError: window is not defined for https://angular.ganatan.com/leaflet","articleBody":"I had problems with leaflet module to build correctly in SSR. Apparently, you had too.\r\n\r\n`ReferenceError: window is not defined`\r\n\r\nwindow isn't here in SSR, but leaflet try to implements some functions directly in source.\r\n```\r\nvar requestFn = window.requestAnimationFrame || getPrefixed('RequestAnimationFrame') || timeoutDefer;\r\nvar cancelFn = window.cancelAnimationFrame || getPrefixed('CancelAnimationFrame') ||\r\n\t\tgetPrefixed('CancelRequestAnimationFrame') || function (id) { window.clearTimeout(id); }; \r\n```\r\n\r\nI followed https://github.com/Angular-RU/angular-universal-starter/blob/master/server.ts.\r\nThey had `global` variable for mock every missing browser global variables.\r\n\r\nI try to add L global from custom leaflet.js where i modify some functions\r\n\r\nserver.ts\r\n```\r\nconst domino = require('domino');\r\n\r\nconst template = readFileSync(join('.', 'dist', 'index.html')).toString();\r\n\r\n// for mock global window by domino\r\n\r\nconst win = domino.createWindow(template);\r\n\r\nglobal['window'] = win;\r\n\r\nglobal['L'] = L;\r\n```\r\n\r\nBut i had always the same issue window isn't defined because LeafletModule import L from leaflet \r\n`import * as L from 'leaflet';`\r\n\r\nHow would you proceed to clean this leaflet?","author":{"url":"https://github.com/RomainMarecat","@type":"Person","name":"RomainMarecat"},"datePublished":"2020-03-05T10:04:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3/angular-node-java/issues/3"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:85937ce4-0fe9-24e9-cfdb-2ba3a039407b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA50E:3EB376:17ED4A:2050FC:6A615CC5
html-safe-nonce56727e62f047381dd7ed35384a135d6e5bfeaa8c7e31c7b543d4e7477bcfecda
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTBFOjNFQjM3NjoxN0VENEE6MjA1MEZDOjZBNjE1Q0M1IiwidmlzaXRvcl9pZCI6IjE1MDIxMTE3NzUwMDk2MjczMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac76d8d3fde3e3c372411ea20ba732483871792d246320208204f6be58e7b98503
hovercard-subject-tagissue:576133096
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/ganatan/angular-node-java/3/issue_layout
twitter:imagehttps://opengraph.githubassets.com/46c737f18cef7e8da2d1e69cf8d6b0e808bd7793ed3fd057dd6ebd4af4fe142e/ganatan/angular-node-java/issues/3
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/46c737f18cef7e8da2d1e69cf8d6b0e808bd7793ed3fd057dd6ebd4af4fe142e/ganatan/angular-node-java/issues/3
og:image:altI had problems with leaflet module to build correctly in SSR. Apparently, you had too. ReferenceError: window is not defined window isn't here in SSR, but leaflet try to implements some functions d...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRomainMarecat
hostnamegithub.com
expected-hostnamegithub.com
Nonec258d2b06b498220e3b94af28b26bbbf58f4203a6373725f779afcc867afd263
turbo-cache-controlno-preview
go-importgithub.com/ganatan/angular-node-java git https://github.com/ganatan/angular-node-java.git
octolytics-dimension-user_id32958393
octolytics-dimension-user_loginganatan
octolytics-dimension-repository_id159201496
octolytics-dimension-repository_nwoganatan/angular-node-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id159201496
octolytics-dimension-repository_network_root_nwoganatan/angular-node-java
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
releasebae60047c72c7890f36d34d78461f3453c546ee2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ganatan/angular-node-java/issues/3#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fganatan%2Fangular-node-java%2Fissues%2F3
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fganatan%2Fangular-node-java%2Fissues%2F3
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=ganatan%2Fangular-node-java
Reloadhttps://github.com/ganatan/angular-node-java/issues/3
Reloadhttps://github.com/ganatan/angular-node-java/issues/3
Reloadhttps://github.com/ganatan/angular-node-java/issues/3
ganatan https://github.com/ganatan
angular-node-javahttps://github.com/ganatan/angular-node-java
Notifications https://github.com/login?return_to=%2Fganatan%2Fangular-node-java
Fork 380 https://github.com/login?return_to=%2Fganatan%2Fangular-node-java
Star 821 https://github.com/login?return_to=%2Fganatan%2Fangular-node-java
Code https://github.com/ganatan/angular-node-java
Issues 11 https://github.com/ganatan/angular-node-java/issues
Pull requests 6 https://github.com/ganatan/angular-node-java/pulls
Actions https://github.com/ganatan/angular-node-java/actions
Projects https://github.com/ganatan/angular-node-java/projects
Security and quality 0 https://github.com/ganatan/angular-node-java/security
Insights https://github.com/ganatan/angular-node-java/pulse
Code https://github.com/ganatan/angular-node-java
Issues https://github.com/ganatan/angular-node-java/issues
Pull requests https://github.com/ganatan/angular-node-java/pulls
Actions https://github.com/ganatan/angular-node-java/actions
Projects https://github.com/ganatan/angular-node-java/projects
Security and quality https://github.com/ganatan/angular-node-java/security
Insights https://github.com/ganatan/angular-node-java/pulse
ReferenceError: window is not defined for https://angular.ganatan.com/leaflethttps://github.com/ganatan/angular-node-java/issues/3#top
https://github.com/RomainMarecat
RomainMarecathttps://github.com/RomainMarecat
on Mar 5, 2020https://github.com/ganatan/angular-node-java/issues/3#issue-576133096
https://github.com/Angular-RU/angular-universal-starter/blob/master/server.tshttps://github.com/Angular-RU/angular-universal-starter/blob/master/server.ts
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.