# Node module is currently unavailable

**URL:** <https://community.auth0.com/t/node-module-is-currently-unavailable/22154>\
**Category:** Get Help\
**Created:** [March 5, 2019, 11:19pm UTC](https://community.auth0.com/t/node-module-is-currently-unavailable/22154 "2019-03-05T23:19:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrian.mercado](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adrian.mercado/32/11543_2.png) [@adrian.mercado](https://community.auth0.com/u/adrian.mercado)\
**Post date:** [March 5, 2019, 11:19pm UTC](https://community.auth0.com/t/node-module-is-currently-unavailable/22154/1 "2019-03-05T23:19:41Z")

</div>

I’ve created a Post User Registration Hook to use the ChargeBee npm module. Yesterday when I clicked run in the editor it worked fine and I was able to see my script create a user in ChargeBee. But now I am getting this as a response

> {  
> “code”: 500,  
> “message”: “node module "chargebee@2.4.8" is not currently available”  
> }

I can go into a command prompt on my machine and npm install chargebee with no problems. Is there something on the auth0 end that I can do to debug what is going on?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [March 6, 2019, 1:31pm UTC](https://community.auth0.com/t/node-module-is-currently-unavailable/22154/2 "2019-03-06T13:31:07Z")

</div>

Hi @adrian.mercado,

I think hooks, likes rules, are limited to the node modules available on [canirequire](https://auth0-extensions.github.io/canirequire/#chargebee) (haven’t found a firm reference, maybe someone from Auth0 can confirm). If so, chargebee is not in the list of available modules. I don’t know if something changed here recently, but I don’t see any references to it in the [github repo](https://github.com/auth0-extensions/canirequire) either. You might want to submit an [issue](https://github.com/auth0-extensions/canirequire/issues/new) to the repo.

---

<div class="post-metadata">

**Author:** ![adrian.mercado](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adrian.mercado/32/11543_2.png) [@adrian.mercado](https://community.auth0.com/u/adrian.mercado)\
**Post date:** [March 6, 2019, 4:13pm UTC](https://community.auth0.com/t/node-module-is-currently-unavailable/22154/3 "2019-03-06T16:13:51Z")

</div>

Thanks for the Reply. I did take a look at canirequire and do not see it there either but I had the npm chargebee working two days ago with no problem and then yesterday it was returning the error. I’ve submitted an issue with auth0 support to see what is going on.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 6, 2019, 5:11pm UTC](https://community.auth0.com/t/node-module-is-currently-unavailable/22154/4 "2019-03-06T17:11:50Z")

</div>

It will be great @adrian.mercado if you can share here in the thread what was the root cause once you’ll be able to go through it with our developer support engineers.

Thank you!

---

<div class="post-metadata">

**Author:** ![adrian.mercado](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adrian.mercado/32/11543_2.png) [@adrian.mercado](https://community.auth0.com/u/adrian.mercado)\
**Post date:** [March 7, 2019, 4:30pm UTC](https://community.auth0.com/t/node-module-is-currently-unavailable/22154/5 "2019-03-07T16:30:53Z")

</div>

Hi Guys, the ChargeBee module was updated today from 2.4.8 to 2.4.9 and my hook started to work again.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 7, 2019, 6:38pm UTC](https://community.auth0.com/t/node-module-is-currently-unavailable/22154/6 "2019-03-07T18:38:09Z")

</div>

Perfect! Glad to hear that @adrian.mercado!

---

<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 22, 2019, 6:38pm UTC](https://community.auth0.com/t/node-module-is-currently-unavailable/22154/7 "2019-03-22T18:38:10Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
