Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development Error - "Compiled Successfully" but connection times out when trying to load the app. #37

Open
jontstaz opened this issue Sep 13, 2020 · 2 comments

Comments

@jontstaz
Copy link

I followed the steps listed under development. Successfully initialised a Postgresql DB using the docker-compose-dev.yml script. Installed all the dependencies in /server and /client with npm install, then ran 'npm run server:db:init' and finally 'npm start'. However when I visit my url:3000 in the browser, it says "ERR_CONNECTION_TIMED_OUT". I'm stumped.

I edited the .env file and put a secret key inside. Otherwise, everything was left as-is.

The only strange output after executing 'npm start' is "error: Ignoring attempt to bind route ('/*/') to unknown view: 'index'".

Screenshot of 'npm start' output below:

image

@meltyshev
Copy link
Member

Hi! Sorry for the long answer. The error about the «unknown view» is ok in development mode. Do you try to connect to http://localhost:3000 after start? Can you check if the port is open?

@jontstaz
Copy link
Author

jontstaz commented Sep 25, 2020

I did try to visit the URL but to no avail - it times out. Port 3000 is fine on my machine as I was able to run a different application within Docker after I experienced this issue with Planka. It also runs fine on 3000 when using the docker-compose file to pull the images from the external source, just doesn't work when pulling and compile the files directly in development mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants