homerchen19 / nba-go

🏀 💻 The finest NBA CLI.

Home Page:https://www.npmjs.com/package/nba-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Load game schedule failed

yusank opened this issue · comments

First, Great tool,love it.

But when I run any command prefix of nba-go game, it alwanys show

⠏ Loading Game Schedule

And after a while, it print this message

⠴ Loading Game Schedule(node:34212) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): FetchError: request to http://stats.nba.com/stats/teaminfocommon?LeagueID=00&Season=2017-18&SeasonType=Regular%20Season&TeamID=1610612761 failed, reason: connect ETIMEDOUT 184.50.93.169:80
(node:34212) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Is it my network problem?
But when run player command, it works.

Is there any solution?,

$ nba-go -v
0.1.9

Now all commands works, may be it is my network problem.