While trying to render the HTML for "/vietnam-expats/chinese" an error occurred. In order to make the build succeed you'll need to fix the error in your site. See the stacktrace below to find the culprit. Also be sure to read Debugging HTML Builds if you need more help.
Error
ReferenceError: window is not defined
at AdUnit (/var/lib/jenkins/workspace/in-content-platform_main@2/.cache/page-ssr/routes/webpack:/content-platform/src/components/core/GlobalPartners.tsx:11:5)
at Fb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:65:44)
at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:67:254)
at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
at Jb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:68:145)
at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
at Jb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
at Kb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:75:140)
at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:345)
at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:68:479)
at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:67:482)
at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:71:68)
at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
Extra Details
Below you'll find additional data that might help you debug the error.
Page Data
The page data contains some metadata about the affected page. If data from the GraphQL is undefined, try running the query in the GraphiQL IDE.
{
"errors": {},
"path": "/vietnam-expats/chinese",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDo1MTIx",
"events": [
{
"id": "ea5140d7-4309-5bff-b679-f7a8a4e24d10",
"name": "InterNations Hanoi: Morning Walk & Cultural Visit",
"startDate": "2026-02-28T08:00:00+0700",
"endDate": "2026-02-28T11:30:00+0700",
"url": "https://www.internations.org/event/promotion/details/1061415",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/09/38b3deab61976b67be7704b1f65127fa0b57d742213f318d44897523e39c7899.png",
"attendees": 11,
"nationalityCount": 9,
"localcommunityName": "Hanoi",
"localcommunityId": 231,
"countryCode": "vie",
"isNewcomerOnly": false,
"description": "Dear InterNations friends,\n\nJoin us for a relaxed morning walk and cultural visit to the Imperial Citadel of Thang Long (UNESCO World Heritage Site).\n\nWe’ll explore at an easy pace, enjoy the atmosphere, and connect with fellow InterNations members early in the year.\n\n🗓 Date: Saturday, 28 February 2026\n⏰ Time: 08:00–11:30\n📍 Meeting point: Main Entrance – 19C Hoang Dieu Street, Ba Dinh\n\n👥 For: InterNations members (expats & locals)\n🎫 Tickets:\n• Ticket price: 100,000 VND\n• Discounts may apply for seniors or students with valid ID\n• Tickets will be purchased together at the entrance\n\n👉 Please arrive on time at 08:00 so we can buy tickets and enter together.\n👟 Please wear comfortable walking shoes and bring water.\n\nNote: This is a casual group visit, not a guided tour.\n\nThank you, and we look forward to seeing you all there!",
"location": {
"name": "Imperial Citadel of Thang Long "
}
}
],
"groups": [
{
"localcommunityId": 231,
"moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/05/1a7606ac56d75876a638d83715abffe7a77ecd82b6347aaa6444558453e1603b.jpeg",
"title": "Hanoi Community Group",
"url": "https://www.internations.org/activity-group/40983/activities",
"memberCount": 16181,
"nationalityCount": 167,
"type": "general_group"
},
{
"localcommunityId": 232,
"moodImage": "https://assets.in-cdn.net/image/{format}/2025/05/07/40b55700f7e80f30bec85ae939c6010401f7cfde81c8e482ffdea1acdeed9b22.jpeg",
"title": "Ho Chi Minh City Community Group",
"url": "https://www.internations.org/activity-group/41666/activities",
"memberCount": 30128,
"nationalityCount": 176,
"type": "general_group"
}
],
"guideLinks": [
{
"name": "Vietnam",
"slug": "vietnam",
"guides": [
{
"title": "Moving to Vietnam",
"url": "https://www.internations.org/vietnam-expats/guide/moving-to-short"
},
{
"title": "Living in Vietnam",
"url": "https://www.internations.org/vietnam-expats/guide/living-short"
},
{
"title": "Working in Vietnam",
"url": "https://www.internations.org/vietnam-expats/guide/working-short"
},
{
"title": "Moving to Hanoi",
"url": "https://www.internations.org/hanoi-expats/guide/moving-to-short"
},
{
"title": "Moving to Ho Chi Minh City",
"url": "https://www.internations.org/ho-chi-minh-city-expats/guide/moving-to-short"
}
],
"location_type": "country"
}
]
}
}