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

I m getting following error in running proxy-lists CLI command #28

Closed
iostreamdoth opened this issue Aug 6, 2016 · 7 comments
Closed
Labels

Comments

@iostreamdoth
Copy link

nishant@nishant-sjsu:~/workspacejs$ proxy-lists --help

module.js:340
throw err;
^
Error: Cannot find module '.'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/proxy-lists/cli.js:10:18)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
nishant@nishant-sjsu:~/workspacejs$

@chill117
Copy link
Owner

chill117 commented Aug 6, 2016

@nishantsharmajecrc What version of node are you running?

@iostreamdoth
Copy link
Author

v0.10.25

@chill117
Copy link
Owner

chill117 commented Aug 9, 2016

That's a very old version. This module is only supporting node 4 or higher. Is it possible for you to upgrade?

Edit:
It looks like there are still recent releases for both Node 0.10 and 0.12. I'll have a look at this for version 0.10 to see if it's an easy fix.

Edit2:
Looks like your specific version has this issue. Try upgrading to the latest 0.10. The problem doesn't occur for version 0.10.46.

@iostreamdoth
Copy link
Author

iostreamdoth commented Aug 9, 2016

I got it fixed. Added ./ in place of . and it fixed it. In place of require = (".") -> require = ("./") .

@th3l0b3
Copy link

th3l0b3 commented Aug 29, 2016

found your fix. works. cheers.

@iostreamdoth
Copy link
Author

In cli.js of proxy-lists node module

@chill117
Copy link
Owner

Since more than one person has had this issue, I'll add the fix to the project and include it in the next release.

chill117 added a commit that referenced this issue Sep 22, 2016
@chill117 chill117 added the bug label Sep 22, 2016
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

3 participants