# Error with post-user-registration hook

**URL:** <https://community.auth0.com/t/error-with-post-user-registration-hook/8041>\
**Category:** Get Help\
**Tags:** hook, error, post-user-registrati\
**Created:** [August 31, 2017, 8:03pm UTC](https://community.auth0.com/t/error-with-post-user-registration-hook/8041 "2017-08-31T20:03:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesare](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cesare/32/8886_2.png) [@cesare](https://community.auth0.com/u/cesare)\
**Post date:** [August 31, 2017, 8:03pm UTC](https://community.auth0.com/t/error-with-post-user-registration-hook/8041/1 "2017-08-31T20:03:56Z")

</div>

In the last 17 hours we experience an intermittent issue with the post-user-registration hook.

The error from the log is:

> ExtensibilityLogicError on post-user-registration: MODULE\_NOT\_FOUND Unable to compile the extensibility code as javascript

The error does not happen when debugging the hook.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [August 31, 2017, 10:00pm UTC](https://community.auth0.com/t/error-with-post-user-registration-hook/8041/2 "2017-08-31T22:00:11Z")

</div>

If your hook requires modules or specific modules versions that are [not available by default](https://tehsis.github.io/webtaskio-canirequire/) in the platform then the hook should list those requirements, in particular, by accessing the tools menu and then selecting _NPM Modules_. You did not provide any information about the modules being used in your hook so a more informed reply is not possible; my best recommendation would be, if you haven’t done so already, to include every module dependency you need in the hook NPM modules list and see if it addresses the situation. If you continue to experience the problem then please update the question with additional information about the modules and versions being used.

---

<div class="post-metadata">

**Author:** ![cesare](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cesare/32/8886_2.png) [@cesare](https://community.auth0.com/u/cesare)\
**Post date:** [August 31, 2017, 10:11pm UTC](https://community.auth0.com/t/error-with-post-user-registration-hook/8041/3 "2017-08-31T22:11:27Z")

</div>

I updated the Node modules as you suggested. We effectively forgot to update the dependencies.  
I’ll keep monitoring the logs and update accordingly.

Thank you.

---

<div class="post-metadata">

**Author:** ![cesare](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cesare/32/8886_2.png) [@cesare](https://community.auth0.com/u/cesare)\
**Post date:** [August 31, 2017, 10:11pm UTC](https://community.auth0.com/t/error-with-post-user-registration-hook/8041/4 "2017-08-31T22:11:27Z")

</div>

I updated the Node modules as you suggested. We effectively forgot to update the dependencies.  
I’ll keep monitoring the logs and update accordingly.

Thank you.

---

<div class="post-metadata">

**Author:** ![cesare](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cesare/32/8886_2.png) [@cesare](https://community.auth0.com/u/cesare)\
**Post date:** [September 1, 2017, 1:49pm UTC](https://community.auth0.com/t/error-with-post-user-registration-hook/8041/5 "2017-09-01T13:49:11Z")

</div>

I can confirm it did fix the issue. Thanks.

---

<div class="post-metadata">

**Author:** ![cesare](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cesare/32/8886_2.png) [@cesare](https://community.auth0.com/u/cesare)\
**Post date:** [September 1, 2017, 1:49pm UTC](https://community.auth0.com/t/error-with-post-user-registration-hook/8041/6 "2017-09-01T13:49:11Z")

</div>

I can confirm it did fix the issue. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/error-with-post-user-registration-hook/8041/7 "2018-03-02T05:56:15Z")

</div>


