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

Unable to connect to the address ? #27

Closed
muddlebee opened this issue Dec 22, 2016 · 15 comments
Closed

Unable to connect to the address ? #27

muddlebee opened this issue Dec 22, 2016 · 15 comments

Comments

@muddlebee
Copy link

Node version: 6.9.0

npm version: 4.0.3

Operating system: 14.04

Command line used:

Steps to reproduce:

I have tried both the installation procedures. But I cannot simply open the link ? Can you help a bit here

@muddlebee
Copy link
Author

I even tried using the alternate version without docker. It simpy doesn't connect to the address in the outCalls/config.js file

@tocttou
Copy link
Collaborator

tocttou commented Dec 22, 2016

Be more specific.

  1. Where do you see this error, add some screenshot if necessary?
  2. What command caused this error?
  3. Did you setup the database before trying?
  4. Did the bundle creation complete without any errors?

@muddlebee
Copy link
Author

screenshot from 2016-12-22 15 31 07

  1. docker run -d -p 5005:5001 --restart=always cvfy

  2. Yes.

@tocttou
Copy link
Collaborator

tocttou commented Dec 22, 2016

Do you want to work on fixing this? 😄

You'll need to build the app outside of docker to see the issue.

@tocttou
Copy link
Collaborator

tocttou commented Dec 22, 2016

I tried a new build, the issue is a breaking change introduced in React 15.4.1 last month.

zilverline/react-tap-event-plugin#85

@anweshknayak you may want to look into this.

@muddlebee
Copy link
Author

@tocttou sure I would like to work on this. :)

@tocttou
Copy link
Collaborator

tocttou commented Dec 22, 2016

Issue is fixed now. Bundle is produced without errors and I am able to use the app. I have included a lock file with exact dependency versions. You may want to use https://yarnpkg.com/ instead of npm in the "without docker" method. Please confirm that it works.

@muddlebee
Copy link
Author

@tocttou yarn install says unable to connect to the server ?
I am not under any proxy server as of now.

@muddlebee
Copy link
Author

seems like this yarnpkg/yarn#668

@tocttou
Copy link
Collaborator

tocttou commented Dec 23, 2016

That is an issue on your end.

@muddlebee
Copy link
Author

fixed. closing this.

@muddlebee muddlebee reopened this Dec 23, 2016
@muddlebee
Copy link
Author

yarn issue persists. could you fix the npm dependencies? or tell me If I can do anything to fix it.

@tocttou
Copy link
Collaborator

tocttou commented Dec 24, 2016

I told you its an issue with your installation of yarn. You can always use npm as usual instead.

@tocttou
Copy link
Collaborator

tocttou commented Dec 24, 2016

Delete the node_modules folder and the yarn.lock file and try again.

@tocttou
Copy link
Collaborator

tocttou commented Dec 24, 2016

@anweshknayak I tried a new build from scratch and it works fine. Lock file is correct. Dependencies are correct. Fix your installation of yarn or just use npm otherwise like mentioned in the steps. The exact steps are:
-x-x-x-

  1. start a mongodb instance at port 27017 (default)
  2. git clone
  3. yarn (better) or npm install
  4. yarn/npm run build -s
  5. yarn/npm start -s
  6. visit localhost:5001

I am closing this.

@tocttou tocttou closed this as completed Dec 24, 2016
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