---
title: Issue importing modules from CDN
slug: turbine-user-guide/issue-importing-modules-from-cdn
docTags: 
createdAt: 2025-12-10T13:28:58.000Z
---

Swimlane noticed that some widgets fail to render on the record and dashboard pages.&#x20;

Upon further investigation, it was discovered that one of the CDNs Swimlane uses to import third-party libraries into widgets (esm.run and unpkg.com) deployed a change recently that broke ESM module resolution in browsers.&#x20;

To switch affected widgets to use a different CDN instead of esm.run or unpkg.com, replace \`unpkg.com\` with \`esm.run\` in any imports in widgets that import third-party dependencies from unpkg.com

Example:

:::BlockQuote
import \{ select } from '**[https://unpkg.com/d3-selection@1.4.1/src/index.js?module](https://unpkg.com/d3-selection@1.4.1/src/index.js?module)**';
:::

Should be replaced with

:::BlockQuote
import \{ select } from '**[https://esm.run/d3-selection@1.4.1/src/index.js?module](https://esm.run/d3-selection@1.4.1/src/index.js?module)**';
:::
