# Skypack is returning 525 errors instead of javascript to the UK \[it's back\]

**URL:** <https://talk.observablehq.com/t/skypack-is-returning-525-errors-instead-of-javascript-to-the-uk-its-back/5900>\
**Category:** Help\
**Created:** [December 3, 2021, 8:58am UTC](https://talk.observablehq.com/t/skypack-is-returning-525-errors-instead-of-javascript-to-the-uk-its-back/5900 "2021-12-03T08:58:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lawless-m](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/lawless-m/32/5852_2.png) [@lawless-m](https://talk.observablehq.com/u/lawless-m)\
**Post date:** [December 3, 2021, 8:58am UTC](https://talk.observablehq.com/t/skypack-is-returning-525-errors-instead-of-javascript-to-the-uk-its-back/5900/1 "2021-12-03T08:58:31Z")

</div>

For the second time in a month, Skypack is returning 525 errors instead of javascript to the UK

and this is not a drop in replacement

import \* as d3 from “[https://cdn.skypack.dev/d3@7](https://cdn.skypack.dev/d3@7)”;

import \* as d3 from “[https://unpkg.com/d3@7.1.1/dist/d3.min.js](https://unpkg.com/d3@7.1.1/dist/d3.min.js)”;

OK, it’s back now.

But how to self host it ?

---

<div class="post-metadata">

**Author:** ![tomlarkworthy](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/tomlarkworthy/32/5940_2.png) [@tomlarkworthy](https://talk.observablehq.com/u/tomlarkworthy)\
**Post date:** [December 3, 2021, 5:19pm UTC](https://talk.observablehq.com/t/skypack-is-returning-525-errors-instead-of-javascript-to-the-uk-its-back/5900/2 "2021-12-03T17:19:53Z")

</div>

you can upload a JS file as a FileAttachment and require that as a url. Mike Bostock does it in [Hello, nanomorph! / Mike Bostock / Observable](https://observablehq.com/@mbostock/hello-nanomorph)

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/2X/8/80e765ee6582153e3502f4fcd3b759be63a7605c.png)

Though skypack is the one I consider the reliable one (doh) :’(

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [December 4, 2021, 9:18am UTC](https://talk.observablehq.com/t/skypack-is-returning-525-errors-instead-of-javascript-to-the-uk-its-back/5900/3 "2021-12-04T09:18:32Z")

</div>

> [@lawless-m](#):
>
> But how to self host it ?

If you plan to self-host, why not install it via npm?

Please be aware that this forum focuses largely on Observable. For D3 related questions outside of Observable you may also want to pay the D3 Slack a visit: [https://d3-slackin.herokuapp.com/](https://d3-slackin.herokuapp.com/)

@tomlarkworthy Given the static import examples, it seems this question is related purely to D3, not to Observable.
