# Dev Rig Javascript Not Working

**URL:** <https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164>\
**Category:** Extensions\
**Created:** [December 22, 2018, 12:25am UTC](https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164 "2018-12-22T00:25:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![superstringman](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/superstringman/32/733_2.png) [@superstringman](https://staging-discuss.dev.twitch.com/u/superstringman)\
**Post date:** [December 22, 2018, 12:25am UTC](https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164/1 "2018-12-22T00:25:14Z")

</div>

I setup the local Hello World sample with the rig, followed all the setup instructions and things generally seem to work. But when I click on the button in the example or try any of the sample messages nothing happens. If I put a call to log to the extension log in the head section of the sample page that seems to work, but no other javascript events are firing.  
I’m on widows and using chrome.

---

<div class="post-metadata">

**Author:** ![dash](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@dash](https://staging-discuss.dev.twitch.com/u/dash)\
**Post date:** [December 22, 2018, 6:38am UTC](https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164/2 "2018-12-22T06:38:34Z")

</div>

How did you start the Dev Rig: “yarn start”, “run.cmd”?

---

<div class="post-metadata">

**Author:** ![superstringman](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/superstringman/32/733_2.png) [@superstringman](https://staging-discuss.dev.twitch.com/u/superstringman)\
**Post date:** [December 22, 2018, 2:19pm UTC](https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164/3 "2018-12-22T14:19:49Z")

</div>

run.cmd

---

<div class="post-metadata">

**Author:** ![dash](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@dash](https://staging-discuss.dev.twitch.com/u/dash)\
**Post date:** [December 22, 2018, 5:09pm UTC](https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164/4 "2018-12-22T17:09:09Z")

</div>

Do you have your environment variables set?

---

<div class="post-metadata">

**Author:** ![superstringman](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/superstringman/32/733_2.png) [@superstringman](https://staging-discuss.dev.twitch.com/u/superstringman)\
**Post date:** [December 22, 2018, 5:23pm UTC](https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164/5 "2018-12-22T17:23:24Z")

</div>

Which environment variables? The documentation said to run a setup script, there was nothing about environment variables.

---

<div class="post-metadata">

**Author:** ![superstringman](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/superstringman/32/733_2.png) [@superstringman](https://staging-discuss.dev.twitch.com/u/superstringman)\
**Post date:** [December 22, 2018, 5:53pm UTC](https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164/6 "2018-12-22T17:53:57Z")

</div>

Well, got the beta version and it seems to be working better. But not seeing a button for the sample messages.

---

<div class="post-metadata">

**Author:** ![dash](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@dash](https://staging-discuss.dev.twitch.com/u/dash)\
**Post date:** [December 22, 2018, 6:04pm UTC](https://staging-discuss.dev.twitch.com/t/dev-rig-javascript-not-working/19164/7 "2018-12-22T18:04:54Z")

</div>

> [@I can't make the extensions to work](https://staging-discuss.dev.twitch.com/t/i-cant-make-the-extensions-to-work/15399):
>
> Hello all and thanks for your time. I’m having a hard time (near frustration) to get all of this working, probably due to misunderstanding the documents. Let’s go step by step: 0- I’m on Windows 10 1- I’ve downloaded the rig, installed node and yarn. 2- I’ve configured the environment vars 3- Configured hosts file 4- Started the rig using yarn start Everything goes well so far, I can access the dev rig through [https://localhost.rig.twitch.tv:3000/](https://localhost.rig.twitch.tv:3000/) Now comes the problem which is really s…
