# Error trying to test turbo via cdn

**URL:** <https://discuss.hotwired.dev/t/error-trying-to-test-turbo-via-cdn/1680>\
**Category:** General\
**Created:** [December 25, 2020, 9:38pm UTC](https://discuss.hotwired.dev/t/error-trying-to-test-turbo-via-cdn/1680 "2020-12-25T21:38:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosmos\_multi](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/cosmos_multi/32/1196_2.png) [@cosmos\_multi](https://discuss.hotwired.dev/u/cosmos_multi)\
**Post date:** [December 25, 2020, 9:38pm UTC](https://discuss.hotwired.dev/t/error-trying-to-test-turbo-via-cdn/1680/1 "2020-12-25T21:38:27Z")

</div>

I’m just testing the tool, but I have some problems with the cdn because it generates an error that I don’t know how to deal with, the error is Uncaught SyntaxError: Unexpected token ‘export’

---

<div class="post-metadata">

**Author:** ![zodman](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/zodman/32/1198_2.png) [@zodman](https://discuss.hotwired.dev/u/zodman)\
**Post date:** [December 25, 2020, 10:47pm UTC](https://discuss.hotwired.dev/t/error-trying-to-test-turbo-via-cdn/1680/2 "2020-12-25T22:47:16Z")

</div>

you importing incorrectly!

paste this on yout `head`

```auto
    <script type="module">
        import hotwiredTurbo from 'https://cdn.skypack.dev/@hotwired/turbo';
    </script>

```

---

<div class="post-metadata">

**Author:** ![cosmos\_multi](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/cosmos_multi/32/1196_2.png) [@cosmos\_multi](https://discuss.hotwired.dev/u/cosmos_multi)\
**Post date:** [December 25, 2020, 11:35pm UTC](https://discuss.hotwired.dev/t/error-trying-to-test-turbo-via-cdn/1680/3 "2020-12-25T23:35:27Z")

</div>

thanks it worked for me
