npm ERR! network tunneling socket could not be established, cause=getaddrinfo ENOTFOUND
Closed this issue · 23 comments
MongoDB Developer course is just started.
I'm trying to download videos using mongo-edu using the following command:
mongo-edu -d /videos/
MongoDB username:
MongoDB passowrd:
searching.......[100%]
Program exits after the above line.
I did use this tool last year to download other videos in MongoDB but it doesn't work now for the new course. Are the videos available in mongo-edu?
add --cw
mongo-edu -d /videos/ --cw command does the same thing...no difference.
It exits the mongo-edu after searching 100%. Any idea how I can resolve this?
Try to reinstall python.
@yhw82 upgrade to the latest version mongo-edu 0.2.16
and let me know ...
How do I upgrade mongo-edu?
Should I run the following commands?
npm uninstall mongo-edu -g
npm install mongo-edu -g
@yhw82 yes
Reinstalled the mongo-edu using the above commands but the issue is no different. What else I can try?
@yhw82 can you post the full snapshot of the console output.
OK. @yhw82 try latest version mongo-edu 0.2.17
and give me an update.
npm uninstall mongo-edu -g
then npm install mongo-edu -g
Try npm cache clean
then npm install mongo-edu@0.2.18 -g
It looks like you have issues with npm
itself. What do you get when you run npm view mongo-edu versions
?
When I ran the command, it shows the version as 0.1.24.
How can I successfully remove npm and install the correct mongo-edu version?
Just uninstall nodejs ... then install latest 0.10.x or 0.12.x nodejs from the website.
Looks like you have network / npm issues
. See if this helps npm/npm#8639
What is the output of:
python %HOMEPATH%\AppData\Roaming\npm\node_modules\mongo-edu\node_modules\youtube-dl\bin\youtube-dl YQTqdLe3W4M --verbose
@yhw82 shall I assume you got it sorted?
Closing for now ... will reopen later if required.