# External Libraries Do Not Import Properly Into Web Editor

**URL:** <https://discourse.processing.org/t/external-libraries-do-not-import-properly-into-web-editor/22750>\
**Category:** Libraries\
**Created:** [July 20, 2020, 8:12pm UTC](https://discourse.processing.org/t/external-libraries-do-not-import-properly-into-web-editor/22750 "2020-07-20T20:12:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hepyrian](https://avatars.discourse-cdn.com/v4/letter/h/b38774/32.png) [@Hepyrian](https://discourse.processing.org/u/Hepyrian)\
**Post date:** [July 20, 2020, 8:12pm UTC](https://discourse.processing.org/t/external-libraries-do-not-import-properly-into-web-editor/22750/1 "2020-07-20T20:12:26Z")

</div>

Hey Everyone!

I’ve been having some issues with the p5 web editor, where I try to import an external library and it uploads with no text or feedback at all. Then, when I try to call a function from the library, it acts like it does not exist. I attached a gif of how I am importing them in case I am doing something wrong, but it seems like there is something within the editor that makes it struggle with external libraries.

> <https://gfycat.com/ficklescientificdegus>

If there is something I’m doing wrong or a strategy you all know to get these things to import properly, please let me know!

Thanks

---

<div class="post-metadata">

**Author:** ![slow\_izzm](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/slow_izzm/32/5637_2.png) [@slow\_izzm](https://discourse.processing.org/u/slow_izzm)\
**Post date:** [July 21, 2020, 4:01am UTC](https://discourse.processing.org/t/external-libraries-do-not-import-properly-into-web-editor/22750/2 "2020-07-21T04:01:07Z")

</div>

try …

```auto
<script src=“lib/p5.touchgui.js”></script>

```

---

<div class="post-metadata">

**Author:** ![Hepyrian](https://avatars.discourse-cdn.com/v4/letter/h/b38774/32.png) [@Hepyrian](https://discourse.processing.org/u/Hepyrian)\
**Post date:** [July 21, 2020, 6:55pm UTC](https://discourse.processing.org/t/external-libraries-do-not-import-properly-into-web-editor/22750/3 "2020-07-21T18:55:36Z")

</div>

Nah that doesn’t work either, I have no idea what’s going on here…

---

<div class="post-metadata">

**Author:** ![slow\_izzm](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/slow_izzm/32/5637_2.png) [@slow\_izzm](https://discourse.processing.org/u/slow_izzm)\
**Post date:** [July 21, 2020, 7:25pm UTC](https://discourse.processing.org/t/external-libraries-do-not-import-properly-into-web-editor/22750/4 "2020-07-21T19:25:46Z")

</div>

found this working example you could fork …

[https://editor.p5js.org/L05/sketches/E6r\_xMBKa](https://editor.p5js.org/L05/sketches/E6r_xMBKa)

---

<div class="post-metadata">

**Author:** ![Hepyrian](https://avatars.discourse-cdn.com/v4/letter/h/b38774/32.png) [@Hepyrian](https://discourse.processing.org/u/Hepyrian)\
**Post date:** [July 21, 2020, 9:21pm UTC](https://discourse.processing.org/t/external-libraries-do-not-import-properly-into-web-editor/22750/5 "2020-07-21T21:21:00Z")

</div>

That’s one way to get it working… Thanks!
