# Ipfs js, html compile error

**URL:** <https://discuss.ipfs.tech/t/ipfs-js-html-compile-error/7660>\
**Category:** Help\
**Tags:** js-ipfs\
**Created:** [April 6, 2020, 5:35pm UTC](https://discuss.ipfs.tech/t/ipfs-js-html-compile-error/7660 "2020-04-06T17:35:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilya\_Krav](https://avatars.discourse-cdn.com/v4/letter/i/73ab20/32.png) [@Ilya\_Krav](https://discuss.ipfs.tech/u/Ilya_Krav)\
**Post date:** [April 6, 2020, 5:35pm UTC](https://discuss.ipfs.tech/t/ipfs-js-html-compile-error/7660/1 "2020-04-06T17:35:44Z")

</div>

I watched video tutorial: [https://www.youtube.com/watch?v=-kdx8rJd8rQ&feature=youtu.be](https://www.youtube.com/watch?v=-kdx8rJd8rQ&feature=youtu.be).  
And when I tried to make the ipds module it gave an error: IPFS is not a constructor.  
I tried fixed it with downgrade version ipfs but get error: Failed at the leveldown@1.9.0 install script.  
Maybe someone know what to do?

---

<div class="post-metadata">

**Author:** ![hector](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hector/32/178_2.png) [@hector](https://discuss.ipfs.tech/u/hector)\
**Post date:** [April 8, 2020, 2:57pm UTC](https://discuss.ipfs.tech/t/ipfs-js-html-compile-error/7660/2 "2020-04-08T14:57:21Z")

</div>

Hello, why don’t you start by going over the js-ipfs documentation here: [https://github.com/ipfs/js-ipfs/tree/master/examples](https://github.com/ipfs/js-ipfs/tree/master/examples)

The video tutorial is from 2017 and at this point probably outdated.
