# Value converter not being registered

**URL:** <https://discourse.aurelia.io/t/value-converter-not-being-registered/1990>\
**Category:** Framework Knowledge\
**Created:** [December 5, 2018, 5:31pm UTC](https://discourse.aurelia.io/t/value-converter-not-being-registered/1990 "2018-12-05T17:31:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miantosca](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@miantosca](https://discourse.aurelia.io/u/miantosca)\
**Post date:** [December 5, 2018, 5:31pm UTC](https://discourse.aurelia.io/t/value-converter-not-being-registered/1990/1 "2018-12-05T17:31:31Z")

</div>

I have a value converter that is failing to get registered. It includes an external module autolinker.js for parsing links in text.

If I remove the autolinker from the converter (basically make toView() a noop) it finds the value converter fine. I assume it has something to do with the autolinker module failing to be found but there is no error in the console about registering the value converter.

The only error I see is **Uncaught Error: No ValueConverter named “textToLink” was found!**

Where should I start to look or is there a way to get more verbose debugging info from the framework?

---

<div class="post-metadata">

**Author:** ![bigopon](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/bigopon/32/18_2.png) [@bigopon](https://discourse.aurelia.io/u/bigopon)\
**Post date:** [December 6, 2018, 12:21am UTC](https://discourse.aurelia.io/t/value-converter-not-being-registered/1990/2 "2018-12-06T00:21:35Z")

</div>

I think this has something to do with circular dependencies, make sure external module auto linker doesn’t link back to text to link value converter. It’s quite a subtle issue. Can you try that?

---

<div class="post-metadata">

**Author:** ![miantosca](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@miantosca](https://discourse.aurelia.io/u/miantosca)\
**Post date:** [December 6, 2018, 1:05pm UTC](https://discourse.aurelia.io/t/value-converter-not-being-registered/1990/3 "2018-12-06T13:05:54Z")

</div>

I tried referencing the autolinkerjs module in a page viewmodel and it gave me an error that No Aurelia API was found in the viewmodel. It is really strange - no build errors or runtime errors except the one coming from Aurelia.

I stepped through the Aurelia code and when it tries to get a reference to the value converter it is null - I assume the exception is being swallowed by Aurelia.

It works locally but when I build/webpack and push to our dev server it does not.

After too many hours I decided to go with a newer link parsing library linkifyjs and it works like a charm.
