crick icon indicating copy to clipboard operation
crick copied to clipboard

Unable to bring up the application per instructions

Open Asuza opened this issue 5 years ago โ€ข 5 comments

Running make dev in the /api folder seems to be successful. Running make dev in the /web folder results in the following:

~/dev/crick/web ยท (master)
โŸฉ make dev
yarn start
yarn run v1.15.2
$ react-scripts start
Could not find an open port at crick.dev.
Network error message: listen EADDRNOTAVAIL 68.183.147.13

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make: *** [Makefile:4: dev] Error 1

Is there a step I'm missing somewhere? Thanks.

Asuza avatar Mar 25 '19 20:03 Asuza

Hi @Asuza!

You are right: it's mentioned in the docs!

You need to configure your system to resolve .dev TLD as localhost (127.0.0.1). We use dnsmasq to do so. You will find relevant tutorial over the web depending on your OS [1, 2].

Hope this helps.

[1] https://passingcuriosity.com/2013/dnsmasq-dev-osx/ [2] https://ziyan.jdeen.com/systems/2018/06/09/local-development-dot-test-localhost.html

jmaupetit avatar Mar 25 '19 20:03 jmaupetit

I think another yet related problem is that .dev is now a reserved TLD :/ (owned by Google)

willdurand avatar Mar 25 '19 20:03 willdurand

Yes, and I stumbled upon it while trying to visit https://github.dev ... ๐Ÿ˜“

jmaupetit avatar Mar 25 '19 21:03 jmaupetit

@jmaupetit where is it mentioned in the docs? I looked all over (again, after reading your comment) and still couldn't find mention of it. Thank you!

Asuza avatar Mar 28 '19 13:03 Asuza

@Asuza It's not :cry:

jmaupetit avatar Mar 28 '19 14:03 jmaupetit