While trying to render the HTML for "/lausanne-expats/guide/living-short" 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": "/lausanne-expats/guide/living-short",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDo3MzMxMQ==",
"events": [
{
"id": "b9278a21-efd7-57df-bdd0-ec7e851469a3",
"name": "InterNations Lausanne Official Event @ Tacos Bar",
"startDate": "2026-02-25T18:30:00+0100",
"endDate": "2026-02-25T22:30:00+0100",
"url": "https://www.internations.org/event/promotion/details/1061469",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/12/b7dd64fe8bdea0fa3eda5168beed1db2e42cd12a06d63b3b9e44d7a72c18a079.jpeg",
"attendees": 53,
"nationalityCount": 25,
"localcommunityName": "Lausanne",
"localcommunityId": 262,
"countryCode": "sui",
"isNewcomerOnly": false,
"description": "Dear All,\n\nWe’re happy to invite you to our next official after-work event in Lausanne! This is another great opportunity to reconnect, meet new members, and enjoy a relaxed evening in good company.\n\nWhether you’re a longtime member or new to the community, you’re warmly welcome to join us.\n\nEvent Highlights:\n\nWelcome session to kick things off\n\nNewcomer introductions—If you’re new, feel free to say a few words or share a fun fact\n\nConsul updates – Hear what’s coming up in our local activity groups\n\nFood & Drinks:\nA welcome drink at the bar and light food will be available to share—a perfect setup for mingling and conversation.\n\nImportant Notes:\n\nEntrance Fee: Cash only at the door (no credit cards accepted)\n\nIf your plans change, kindly update your attendance.\n\nGuests welcome! Feel free to bring your friends; just make sure they sign up for InterNations first, becoming a Basic Member, and use a free trial to join the guest list.\n\nWe, your Lausanne Ambassadors, are looking forward to seeing you again and making this another enjoyable and welcoming evening for everyone.\n\nLet’s keep the energy of 2026 going strong—see you there!",
"location": {
"name": "Tacos Bar"
}
},
{
"id": "cf393b76-b7f5-5565-8823-684593b54be5",
"name": "Escape to Mexico",
"startDate": "2026-02-25T19:30:00+0100",
"endDate": "2026-02-25T22:30:00+0100",
"url": "https://www.internations.org/activity-group/3402/activity/655351",
"image": "https://assets.in-cdn.net/image/{format}/2026/01/23/e9ccbf5253ba2166bbc13a6b35f2f023082ad53dbe52512d6c7cfc0286cc5913.jpeg",
"attendees": 15,
"nationalityCount": 10,
"localcommunityName": "Lausanne",
"localcommunityId": 262,
"countryCode": "sui",
"isNewcomerOnly": false,
"description": "Dear Gourmands,\n\nIt may be winter outside, but we’re keeping our souls warm. For our next gathering, we’re heading to a Mexican spot that celebrates authentic, flavorful tacos paired with a great selection of Mexican beers, tequilas, and mezcal.\n\nWith its fun atmosphere and friendly team, the evening promises to feel like a little escape straight to the heart of Mexico without leaving Lausanne. \n\nSo join me again for a relaxed, festive dinner to share good food, good drinks, and good company.\n",
"location": {
"name": ""
}
},
{
"id": "9541789f-1372-55f4-b0c0-5c392416946c",
"name": "A Culinary Journey Between Art and Gastronomy",
"startDate": "2026-02-26T17:30:00+0100",
"endDate": "2026-02-26T21:00:00+0100",
"url": "https://www.internations.org/activity-group/7793/activity/656838",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/07/3e8f018f0cfcd3eaa9d37c1ab0332943224b8b2a1dba3a5dd2e4da8b3acf7ada.png",
"attendees": 5,
"nationalityCount": 5,
"localcommunityName": "Lausanne",
"localcommunityId": 262,
"countryCode": "sui",
"isNewcomerOnly": false,
"description": "Always wanted to visit a few museums while enjoying some good food ? Now it's your chance as Lausanne museums is proposing 2 days of exploring museums and enjoying a culinary bite at the same time.\n\nThis will take place on Thursday the 26th and Friday the 27th of February.\n\nOn Thursday, February 26, 2026\nRoman Museum of Lausanne-Vidy with Karim Akel & Jonas Buxcel from Canine Delicatessen. Cuisine inspired by the Alea exhibition. Life Journeys\n(Two time slots: 5:30-6:30 pm or 7-8 pm)\n\nAnd the Typewriter Museum with the chefs from Mosaic Cuisine – Solidarity Catering. Cuisine inspired by the Sholes & Glidden typewriter\n(Two time slots: 5:30-6:30 pm or 7-8 pm)\n\nOn Friday, February 27, 2026\nFAR – Forum d'architectures Lausanne with chef Gaëtan Delmotte from Café de l'Arsenic. Cuisine inspired by the Architecture of Memory exhibition\n(Two time slots: 5:30-6:30 pm or 7-8 pm)\n\nAnd ArchéoLab with chef Maxime Vonlanthen. Cuisine inspired by the murals of the Roman Villa\n\n(Two time slots: 5:30-6:30 pm or 7-8 pm)\n\nI'll be there on Thursday and Friday. I'm especially excited to visit the typewriter museum but the other museums look very interesting as well.\n\nTickets and more information can be found here: \n\nhttps://lausannemusees.ch/fr_CH/events/fringales-museales-2026\n\nThe price you pay depends on how many museums you want to visit. \n\n20CHF for one up to 50CHF for all four.",
"location": {
"name": ""
}
},
{
"id": "12314ad6-452b-52cb-80c2-268264fe4995",
"name": "Afterwork Raclette",
"startDate": "2026-02-26T18:00:00+0100",
"endDate": "2026-02-26T22:00:00+0100",
"url": "https://www.internations.org/activity-group/8830/activity/656689",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/05/b9418bb92db7395cd3e98a725b782e0e22861c3960a88b51719477ebd061fb9a.png",
"attendees": 5,
"nationalityCount": 5,
"localcommunityName": "Lausanne",
"localcommunityId": 262,
"countryCode": "sui",
"isNewcomerOnly": false,
"description": "FOR WHOM?\nOpen to everyone: BNI members, guests, the curious — you are very welcome.\nAfter the success of the 2022, 2023, 2024 and 2025 editions, come and enjoy a moment of sharing, networking, conviviality and celebration with us at the 2026 edition.\n\n{% location %} WHERE?\nAt the halls of Schmalz Déco-Pub SA in Poliez-le-Grand (2 km of Échallens)\nCh. Derrière-Ville 19 / 1041 Poliez-le-Grand\n\nhttps://maps.app.goo.gl/b4KW9rABHWJWJmr26\n{% endlocation %}\n\nWHY?\nTo discover BNI and its members, connect with entrepreneurs from French-speaking Switzerland, enjoy a great time, or simply have a drink accompanied by a raclette. Whatever your motivation, you are welcome.\n\nPARTNERS / ENTERTAINMENT\nInformation coming soon\n\nPARKING\n1-minute walk away, at the large hall parking area (over 100 parking spaces)",
"location": {
"name": ""
}
}
],
"groups": [
{
"localcommunityId": 262,
"moodImage": "https://assets.in-cdn.net/image/{format}/2025/07/01/3514d258849c59e0d532d87d1b5ad4850c15d1511c964c170bbc28f0f6a6c996.jpeg",
"title": "Women Only Group",
"url": "https://www.internations.org/activity-group/10050/activities",
"memberCount": 620,
"nationalityCount": 93,
"type": "women_only"
},
{
"localcommunityId": 262,
"moodImage": "https://assets.in-cdn.net/image/{format}/2025/07/01/52bdf90de44a83971a6dc8b339b7fb87f8d75f5dc87eb8f0a08e20ab6d333c31.jpeg",
"title": "Dance Group",
"url": "https://www.internations.org/activity-group/11011/activities",
"memberCount": 118,
"nationalityCount": 36,
"type": "default"
},
{
"localcommunityId": 262,
"moodImage": "https://assets.in-cdn.net/image/{format}/2025/08/01/53e561b477b6c23b02583dcd03cf8d2a48b4a4dded2b8e93b2810930fd50e395.jpeg",
"title": "City Explorers Group",
"url": "https://www.internations.org/activity-group/11024/activities",
"memberCount": 1509,
"nationalityCount": 125,
"type": "default"
},
{
"localcommunityId": 262,
"moodImage": "https://assets.in-cdn.net/image/{format}/2025/10/24/305f06fea15350a99b6a5aa6f24b80a4b6eeedd308cc91854f5419d5b0d9170b.jpeg",
"title": "Wellness & Recreation Group",
"url": "https://www.internations.org/activity-group/25865/activities",
"memberCount": 622,
"nationalityCount": 87,
"type": "default"
}
],
"guideLinks": [
{
"name": "Lausanne",
"slug": "lausanne",
"guides": [
{
"title": "Moving to Lausanne",
"url": "https://www.internations.org/lausanne-expats/guide/moving-to-short"
},
{
"title": "Living in Lausanne",
"url": "https://www.internations.org/lausanne-expats/guide/living-short"
},
{
"title": "Working in Lausanne",
"url": "https://www.internations.org/lausanne-expats/guide/working-short"
},
{
"title": "Moving to Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/moving-to"
},
{
"title": "Relocating to Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/relocating"
},
{
"title": "Visas & Work Permits in Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/visas-work-permits"
},
{
"title": "Housing in Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/housing"
},
{
"title": "Healthcare in Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/healthcare"
},
{
"title": "Banks & Taxes in Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/banks-taxes"
},
{
"title": "Education in Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/education"
},
{
"title": "Working in Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/working"
},
{
"title": "Living in Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/living"
}
],
"location_type": "city"
}
]
}
}