# Odd issue using several libraries

**URL:** <https://talk.observablehq.com/t/odd-issue-using-several-libraries/2555>\
**Category:** Help\
**Created:** [November 16, 2019, 12:18am UTC](https://talk.observablehq.com/t/odd-issue-using-several-libraries/2555 "2019-11-16T00:18:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![aaronkyle](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/aaronkyle/32/8106_2.png) [@aaronkyle](https://talk.observablehq.com/u/aaronkyle)\
**Post date:** [November 16, 2019, 2:20am UTC](https://talk.observablehq.com/t/odd-issue-using-several-libraries/2555/2 "2019-11-16T02:20:58Z")

</div>

Hi there, and welcome to the forum!

I must admit that I probably know the least about any of this out of all the users on this forum, but since your question’s been active for a couple of hours without a reply, please allow me to point out a pattern I’ve seen several places when these sorts of issues arise… `await` :

To pull a pattern from [another thread](https://talk.observablehq.com/t/waiting-for-a-library-require-to-finish-executing/54/3) (recognizing the modules being required differ from yours):

> [@D3.layout module import woes](https://talk.observablehq.com/t/d3-layout-module-import-woes/210/2):
>
> d3 = { const d3 = window.d3 = await require(‘d3@3’); await require(‘phylotree@0.1’).catch(() =\> {}); return d3; }

My understanding is (going out on a limb here) that you can work around the asynchronous loading by specifying a particular order for modules.

Also, you might check out the section on ‘stubborn add-ons’ here:

> **[How to require stubborn modules | Observable documentation](https://observablehq.com/documentation/debugging/require-stubborn-modules)**
>
> All your Observable questions answered

… If I were more adept at this, I’d try to help tailor it to your purposes, but I have a feeling you’ll sort it out on your own 😉

Hope this helps!

---

_[View the full topic](https://talk.observablehq.com/t/odd-issue-using-several-libraries/2555)._
