# A require stopped working

**URL:** <https://talk.observablehq.com/t/a-require-stopped-working/2785>\
**Category:** Help\
**Created:** [January 28, 2020, 8:25pm UTC](https://talk.observablehq.com/t/a-require-stopped-working/2785 "2020-01-28T20:25:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BobKerns](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bobkerns/32/2467_2.png) [@BobKerns](https://talk.observablehq.com/u/BobKerns)\
**Post date:** [January 28, 2020, 8:25pm UTC](https://talk.observablehq.com/t/a-require-stopped-working/2785/1 "2020-01-28T20:25:13Z")

</div>

I’m assuming this didn’t get republished incompatibly on bundle.run , but…

I had this in a notebook:

`netcdf = require('https://bundle.run/netcdfjs@1.0.0')`

It was a recommendation from the Module Require Debugger. I did a refresh this AM and it suddenly started erroring, and now the Module Require Debugger disrecommends it.

Did something change on your end?

It now offers this alternative, so I didn’t have to screw around much. Just flagging a possible regression.

`require('netcdfjs@1.0.0/dist/netcdfjs.js')`

---

<div class="post-metadata">

**Author:** ![Fil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/fil/32/207_2.png) [@Fil](https://talk.observablehq.com/u/Fil)\
**Post date:** [January 28, 2020, 8:38pm UTC](https://talk.observablehq.com/t/a-require-stopped-working/2785/2 "2020-01-28T20:38:35Z")

</div>

bundle.run is very unstable — my own recommendation would be to use it to test if the bundled library can be used, and in that case download it, then upload it to your notebook as a file attachment.  
Now, when bundle.run is toast, you can install packd (the software that powers it), and run it locally. It’s simpler that it sounds: clone from github and run npm, it works out of the box. Then you can go to localhost:9000/netcdfjs and retrieve the compiled file.  
I’ve done this and shared the result here

> **[Hello, netcdfjs](https://observablehq.com/d/5c62cbc4db81b20f)**
>
> An Observable notebook by Fil.

---

<div class="post-metadata">

**Author:** ![BobKerns](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bobkerns/32/2467_2.png) [@BobKerns](https://talk.observablehq.com/u/BobKerns)\
**Post date:** [January 28, 2020, 8:47pm UTC](https://talk.observablehq.com/t/a-require-stopped-working/2785/3 "2020-01-28T20:47:32Z")

</div>

Thanks, that’s very helpful info! It might also be a good approach for things I have that might best be managed outside of a notebook (for example, better in Typescript), but too limited in purpose for NPM.
