# Notebook local hosting not fully served/working

**URL:** https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740
**Category:** Help
**Created:** [March 7, 2021, 8:59pm UTC](https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740 "2021-03-07T20:59:04Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ph-git](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/ph-git/32/4535_2.png) [@ph-git](https://talk.observablehq.com/u/ph-git)
#### Post date: [March 7, 2021, 8:59pm UTC](https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740/1 "2021-03-07T20:59:04Z")

</div>

Hey Everyone,

I’ve been trying to run an observable notebook locally after using the download code feature and can’t figure out where I’m going wrong. I don’t have any attached files in the notebook.

I downloaded the zipped file, uncompressed it using 7zip, and got the standard contents as I’ve seen in other posts.

I then used npm http-server to run a simple web server in the folder, and got this in the browser (chrome):

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

I found this example [examples/standalone at main · observablehq/examples · GitHub](https://github.com/observablehq/examples/tree/main/standalone), but as I understand the unzipped file should be able to be hosted straightaway without any of the extra steps in this example.

Any ideas what’s going wrong?

---

<div class="post-metadata">

### Author: ![bgchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bgchen/32/784_2.png) [@bgchen](https://talk.observablehq.com/u/bgchen)
#### Post date: [March 7, 2021, 9:17pm UTC](https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740/2 "2021-03-07T21:17:59Z")

</div>

Can you link to the notebook (or something that doesn’t work which you’re willing to share)?

---

<div class="post-metadata">

### Author: ![ph-git](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/ph-git/32/4535_2.png) [@ph-git](https://talk.observablehq.com/u/ph-git)
#### Post date: [March 7, 2021, 9:31pm UTC](https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740/3 "2021-03-07T21:31:07Z")

</div>

Just did the same process with this random notebook I found: [Matthias D3 | Simple bar-chart with tooltip-hover / nordea / Observable](https://observablehq.com/@nordea/matthias-d3-simple-bar-chart-with-tooltip-hover)

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

Also should say that I npm installed the observable runtime, so still bit confused as to what’s wrong.

---

<div class="post-metadata">

### Author: ![bgchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bgchen/32/784_2.png) [@bgchen](https://talk.observablehq.com/u/bgchen)
#### Post date: [March 7, 2021, 9:38pm UTC](https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740/4 "2021-03-07T21:38:49Z")

</div>

I’m not getting any errors when I open the downloaded code for that notebook locally. And your screenshot doesn’t show any errors either.

Sorry, I might have been unclear. Can you post a link to a notebook which suffers from the same issue / error as in your original post?

---

<div class="post-metadata">

### Author: ![ph-git](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/ph-git/32/4535_2.png) [@ph-git](https://talk.observablehq.com/u/ph-git)
#### Post date: [March 7, 2021, 9:52pm UTC](https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740/5 "2021-03-07T21:52:37Z")

</div>

Ah, perhaps I think I was expecting the notebook to be much closer to what it looks like when you view it on [observablehq.com](http://observablehq.com). Is the screenshot I showed for the simple bar chart expected behavior?

---

<div class="post-metadata">

### Author: ![bgchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bgchen/32/784_2.png) [@bgchen](https://talk.observablehq.com/u/bgchen)
#### Post date: [March 7, 2021, 10:07pm UTC](https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740/6 "2021-03-07T22:07:32Z")

</div>

Yes, it is. You can adjust the output by writing a custom inspector, see [this tutorial](https://observablehq.com/@observablehq/downloading-and-embedding-notebooks) (and maybe the custom inspector factory in [this old notebook](https://observablehq.com/@bryangingechen/exporting-notebooks-with-their-source#intoWithSource) might help).

---

<div class="post-metadata">

### Author: ![ph-git](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/ph-git/32/4535_2.png) [@ph-git](https://talk.observablehq.com/u/ph-git)
#### Post date: [March 7, 2021, 10:31pm UTC](https://talk.observablehq.com/t/notebook-local-hosting-not-fully-served-working/4740/7 "2021-03-07T22:31:20Z")

</div>

Great! I think embedding the entire notebook will work for what I need, thanks.
