-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Comments
@nishantsharmajecrc What version of node are you running? |
v0.10.25 |
That's a very old version. This module is only supporting node 4 or higher. Is it possible for you to upgrade? Edit: Edit2: |
I got it fixed. Added ./ in place of . and it fixed it. In place of require = (".") -> require = ("./") . |
found your fix. works. cheers. |
In cli.js of proxy-lists node module |
Since more than one person has had this issue, I'll add the fix to the project and include it in the next release. |
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$
The text was updated successfully, but these errors were encountered: