# Issue importing a typescript module

**URL:** <https://talk.observablehq.com/t/issue-importing-a-typescript-module/3000>\
**Category:** Help\
**Created:** [April 1, 2020, 8:51pm UTC](https://talk.observablehq.com/t/issue-importing-a-typescript-module/3000 "2020-04-01T20:51:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgits](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/bgits/32/1707_2.png) [@bgits](https://talk.observablehq.com/u/bgits)\
**Post date:** [April 1, 2020, 8:51pm UTC](https://talk.observablehq.com/t/issue-importing-a-typescript-module/3000/1 "2020-04-01T20:51:03Z")

</div>

I am trying to import `@mycrypto/eth-scan`. I have used the suggested require statements as per [https://observablehq.com/@observablehq/module-require-debugger](https://observablehq.com/@observablehq/module-require-debugger).

In the case of `require('https://bundle.run/@mycrypto/eth-scan@2.1.0')` it returns an empty object. Any ideas on how to move past this?

---

<div class="post-metadata">

**Author:** ![severo](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/severo/32/786_2.png) [@severo](https://talk.observablehq.com/u/severo)\
**Post date:** [April 2, 2020, 6:07am UTC](https://talk.observablehq.com/t/issue-importing-a-typescript-module/3000/2 "2020-04-02T06:07:05Z")

</div>

I think the problem is that the package has not been build for the browser. You cannot require the cjs module because it’s not Node.js, and you cannot import the ES module either (with `import('https://unpkg.com/@mycrypto/eth-scan@2.1.0/lib/es/index.js?module')` for example) because various dependencies don’t publish an ES module, such as [https://unpkg.com/isomorphic-unfetch@3.0.0?module](https://unpkg.com/isomorphic-unfetch@3.0.0?module).
