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

Error on start server #32

Closed
douglaswender opened this issue Oct 6, 2020 · 3 comments
Closed

Error on start server #32

douglaswender opened this issue Oct 6, 2020 · 3 comments

Comments

@douglaswender
Copy link

I got this error when I tried to start the backend, I tried to adjust it but I couldn't find the reason, I use Windows 10 64 bits

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'port' of undefined
at LeagueDataProviderService.getCurrentData (lol-pick-ban-ui \ backend-build \ data \ league \ LeagueDataProviderService.js: 58: 97)

image

@Laraakaa
Copy link
Collaborator

Laraakaa commented Oct 6, 2020

Hey,

thank you for your report. Sorry, this error message is not really good and not guiding towards a potential solution. I'll try to have a look and create a follow up issue to fix the error message. The image you attached doesn't really show anything relevant, skipping those optional dependencies does not cause any issue.

Usually, this happens if the pick-ban-ui cannot connect to your league client. So make sure:

  1. It's open.
  2. If it's started as administrator, also make sure that you start the PowerShell as administrator. It cannot read from it if it was launched with higher permission else.

@Laraakaa
Copy link
Collaborator

Laraakaa commented Oct 6, 2020

Follow up issue: #33

Please let me know if the above answer should not fix your issue.

@douglaswender
Copy link
Author

It is solved, it was problems with the same administrator permissions

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