Developer Rig issues

I’ve configured the extension as per the instructions on the Github guide but I’m getting this error when trying to start through Yarn:

yarn run v1.5.1
$ node ./scripts/ssl.js && cross-env HOST=localhost.rig.twitch.tv HTTPS=true node scripts/start.js
SSL Cert already exists at /home/mark/developer-rig/ssl/selfsigned.crt
Attempting to bind to HOST environment variable: localhost.rig.twitch.tv
If this was unintentional, check that you haven't mistakenly set it in your shell.
Learn more here: http://bit.ly/2mwWSwH

Could not find an open port at localhost.rig.twitch.tv.
Network error message: getaddrinfo ENOTFOUND localhost.rig.twitch.tv

error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c node ./scripts/ssl.js && cross-env HOST=localhost.rig.twitch.tv HTTPS=true node scripts/start.js
Directory: /home/mark/developer-rig
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/home/mark/developer-rig/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

As far as I’m aware nothing else is running on that port. Has anyone else had this issue?
Thanks,
Mark

did you add a record to /etc/hosts ?

instructions here:

https://github.com/twitchdev/developer-rig#configuring-the-developer-rig

Hi, yeah I’ve done all of that

Weird, I commented out that line in my /etc/hosts and got the exact same error you have so the line about the port might be a red herring. The main issue is it can’t resolve localhost.rig.twitch.tv I believe.

Do you get anything with ping localhost.rig.twitch.tv

It should resolve to 127.0.0.1

Yeah I just tried pinging it and it worked. So it does appear to be a localhost resolution problem

What platform you on? (Windows/Mac/Linux)

I’m on windows but I’m using Ubuntu for windows so I can use those kinds of commands.

I may have to go back to local developing until I can figure out this issue

You may need to add

127.0.0.1 localhost.rig.twitch.tv

To both the Windows hosts file and the Ubuntu on Windows hosts file

So that’s /etc/hosts and c:/Windows/system32/drivers/hosts iirc

1 Like

Well progress of sorts!

yarn run v1.5.1
error An unexpected error occurred: "Command \"start\" not found.".
info If you think this is a bug, please open a bug report with the information provided in "/home/mark/twitch-vue/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.