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

TypeError: Cannot read property 'indexOf' of null #43

Closed
peterkorodi opened this issue Jan 30, 2017 · 3 comments
Closed

TypeError: Cannot read property 'indexOf' of null #43

peterkorodi opened this issue Jan 30, 2017 · 3 comments
Assignees
Labels

Comments

@peterkorodi
Copy link

I've installed proxy-lists:
$ npm install -g proxy-lists

After I've got this error when I'd like to get a proxy list:
$ proxy-lists getProxies --sources-white-list="hidemyass" --stdout
TypeError: Cannot read property 'indexOf' of null

How can I get a proxy list?

@chill117 chill117 added the bug label Jan 31, 2017
@chill117
Copy link
Owner

chill117 commented Jan 31, 2017

Looks like this is a bug. I am able to reproduce the error. I'll have a look when I get some free time.

Edit:
All proxy sources are affected. Looks like recent changes broke the CLI. As a temporary solution, you could try installing an older version of the module.

@chill117 chill117 self-assigned this Jan 31, 2017
chill117 added a commit that referenced this issue Jan 31, 2017
@chill117
Copy link
Owner

chill117 commented Jan 31, 2017

Fixed the issue and released a new version (v1.11.0). I don't have time now, but I will revisit this to add tests for the CLI.

@peterkorodi
Copy link
Author

It's working. Thanks

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

No branches or pull requests

2 participants