# Cannot build jupyterlab examples

**URL:** <https://discourse.jupyter.org/t/cannot-build-jupyterlab-examples/1068>\
**Category:** JupyterLab\
**Created:** [May 13, 2019, 10:58am UTC](https://discourse.jupyter.org/t/cannot-build-jupyterlab-examples/1068 "2019-05-13T10:58:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ernstch](https://avatars.discourse-cdn.com/v4/letter/e/9de0a6/32.png) [@ernstch](https://discourse.jupyter.org/u/ernstch)\
**Post date:** [May 13, 2019, 10:58am UTC](https://discourse.jupyter.org/t/cannot-build-jupyterlab-examples/1068/1 "2019-05-13T10:58:42Z")

</div>

Dear all,  
What is the recommended way to build the jupyterlab examples ([https://jupyterlab.readthedocs.io/en/stable/developer/examples.html](https://jupyterlab.readthedocs.io/en/stable/developer/examples.html))?

Are we supposed to first  
conda create -n jlex jupyterlab nodejs  
conda activate jlex  
then  
`jlpm run build:examples`?  
If running these commands, I get errors about incompatible MIME types and missing @jupyterlab/buildutils.

Or should we run  
git checkout [https://github.com/jupyterlab/jupyterlab.git](https://github.com/jupyterlab/jupyterlab.git)  
cd jupyterlab  
npm install  
npm run build  
jlpm run examples:build?  
Then I get hundreds of errors at the “npm run build” step.

Please help to describe which steps are necessary before “jlpm run build:examples”. When the general direction is clear, I can post details error logs.  
Thank you  
Ernst

---

<div class="post-metadata">

**Author:** ![jasongrout](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jasongrout/32/371_2.png) [@jasongrout](https://discourse.jupyter.org/u/jasongrout)\
**Post date:** [May 24, 2019, 10:31pm UTC](https://discourse.jupyter.org/t/cannot-build-jupyterlab-examples/1068/2 "2019-05-24T22:31:10Z")

</div>

Set up a dev environment first ([https://github.com/jupyterlab/jupyterlab/blob/77a940e09712f0e1ba5af3bae2d4ace3533cd297/CONTRIBUTING.md#setting-up-a-development-environment](https://github.com/jupyterlab/jupyterlab/blob/77a940e09712f0e1ba5af3bae2d4ace3533cd297/CONTRIBUTING.md#setting-up-a-development-environment)), then do the `jlpm run build:examples`.

---

<div class="post-metadata">

**Author:** ![RHT](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@RHT](https://discourse.jupyter.org/u/RHT)\
**Post date:** [May 24, 2019, 10:57pm UTC](https://discourse.jupyter.org/t/cannot-build-jupyterlab-examples/1068/3 "2019-05-24T22:57:43Z")

</div>

I"m glad to see this thread. I’ve been working in python for months now, occasionally using jupyterlab, but I figured it just wasnt ready for prime time yet. I’ve been able to make it work at a basic level, but lots and lots of errors. I can get it working on binder but not really locally If someone has some detailed steps on getting past all the yarn, webkit, js errors, i’ll tag along for the ride if you don’t mind:  
Randy
