Ionic Framework dont work with cdn since yesterday

I using the ionic framework with cdn and without other framework:

<script type="module" src="https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/ionic.esm.js"></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/ionic.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core/css/ionic.bundle.css"/>

But it do not work:
Failed to load resource: the server responded with a status of 404 ()
17p-aea38759.js:1 TypeError: Failed to fetch dynamically imported module: https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/p-0b5fbec3.entry.js undefined
Oe @ p-aea38759.js:1
17p-aea38759.js:1 Uncaught (in promise) TypeError: Cannot read property ‘isProxied’ of undefined
at p-aea38759.js:1
p-24dc7b6e.entry.js:1 Failed to load resource: the server responded with a status of 404 ()
10p-aea38759.js:1 TypeError: Failed to fetch dynamically imported module: https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/p-24dc7b6e.entry.js undefined
Oe @ p-aea38759.js:1
10p-aea38759.js:1 Uncaught (in promise) TypeError: Cannot read property ‘isProxied’ of undefined
at p-aea38759.js:1
p-5e452afb.entry.js:1 Failed to load resource: the server responded with a status of 404 ()
2p-aea38759.js:1 TypeError: Failed to fetch dynamically imported module: https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/p-5e452afb.entry.js undefined
Oe @ p-aea38759.js:1
2p-aea38759.js:1 Uncaught (in promise) TypeError: Cannot read property ‘isProxied’ of undefined
at p-aea38759.js:1
and so on … 64 errors in console

2 Likes

It same issue with me too.

Hey folks, thanks for the heads up. We got few reports of this and are looking into it! Hang tight!

2 Likes

Temp (or even) final solution… Maybe hardcode the version number in the CDN URL, also to avoid any breaking changes whenever the CDN is updated…

Thx @gpk !

Thanks, it works again now!

We are having a similar issue. We tried hard coding core “https://cdn.jsdelivr.net/npm/@ionic/core@5.4.0/dist/ionic/ionic.js” but my browser says:

TypeError: Failed to fetch dynamically imported module: https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/p-d9fa7c89.entry.js

The above CND address returns the following message when I try to hit it in my browser:

Couldn’t find the requested file /dist/ionic/p-d9fa7c89.entry.js in @ionic/core.

1 Like

Same thing on my website, started earlier today from what I can tell.

Does clearing your browser cache help? It’s possible that the chunk names (p-d9fa7c89) have changed, and your browser is trying to pull an old chunk.

It would appear that it is working now. Last Thursday it was definitely broken, however. Clearing the cache was the first thing we tried. My guess is that your CDN was in the middle of an update, temporarily breaking the link to whatever was contained in p-d9fa7c89 as it rolled out changes to it’s various server locations. This is of course speculation on my part. Whatever the case, it seems to be working seamlessly now. Thank you!

Hi @mhartington I’m facing the same issue again today as CDN seems to be down, Please get it fixed as soon as possible thanks, and this is the error I’m getting as below

URL: https://cdn.jsdelivr.net/npm/@ionic/core/dist/ionic/p-4fcfc537.entry.js
Status: 404
Source: Network
Initiator:
p-d32bf714.js:4:14900

1 Like

Same issue again today as CDN seems to be down :frowning:

1 Like

I also have this problem, I cleaned the cache does not help, I tried to apply vpn, it worked, please fix it as soon as possible