# Uncaught TypeError: req.setNoDelay is not a function

**URL:** <https://community.auth0.com/t/uncaught-typeerror-req-setnodelay-is-not-a-function/8716>\
**Category:** Get Help\
**Tags:** not-working, react, lock\
**Created:** [November 10, 2017, 6:48pm UTC](https://community.auth0.com/t/uncaught-typeerror-req-setnodelay-is-not-a-function/8716 "2017-11-10T18:48:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexander.podkidyshe](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexander.podkidyshe/32/7433_2.png) [@alexander.podkidyshe](https://community.auth0.com/u/alexander.podkidyshe)\
**Post date:** [November 10, 2017, 6:48pm UTC](https://community.auth0.com/t/uncaught-typeerror-req-setnodelay-is-not-a-function/8716/1 "2017-11-10T18:48:29Z")

</div>

Hi, guys  
I’ve tried to add Auth0Lock… Only one line of code:

```
 this.lock = new Auth0Lock(my_id, my_domain)

```

and got this in console…What I did wrong?!

auth0-lock: ^10.24.0  
node: v8.8.1  
React: 16.1.0

---

<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:57am UTC](https://community.auth0.com/t/uncaught-typeerror-req-setnodelay-is-not-a-function/8716/2 "2018-03-02T05:57:21Z")

</div>


