Installation stuck at 'npm http GET https://registry.npmjs.org/socket.io'

Hi…

After 5 hours of brain-racking, trying almost every solution on the web and on here, and finally doing 3 clean installs, I always get stuck at:

installing erpnext
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
npm http GET https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/superagent
npm http GET https://registry.npmjs.org/cookie
npm http GET https://registry.npmjs.org/socket.io

I waited 2- hours every time it got stuck there hoping it would continue, or at least throw a few errors. No-go though. The entire story is here:

root@ubuntu:/# sudo -E bash setup_frappe.sh --setup-production --verbose
Installing for Ubuntu trusty amd64
In case you encounter an error, you can post on https://discuss.frappe.io

Adding ubuntu mariadb repo
Ign http://extras.ubuntu.com trusty InRelease
Hit http://ams2.mirrors.digitalocean.com trusty InRelease           
Hit http://extras.ubuntu.com trusty Release.gpg                                
Ign http://us.archive.ubuntu.com trusty InRelease                              
Get:1 http://security.ubuntu.com trusty-security InRelease [64.4 kB]    
Hit http://extras.ubuntu.com trusty Release                                    
Hit http://ams2.mirrors.digitalocean.com trusty/main amd64 Packages            
Get:2 http://us.archive.ubuntu.com trusty-updates InRelease [64.4 kB]          
Hit http://extras.ubuntu.com trusty/main Sources                               
Hit http://extras.ubuntu.com trusty/main amd64 Packages                        
Hit http://ams2.mirrors.digitalocean.com trusty/main i386 Packages             
Hit http://extras.ubuntu.com trusty/main i386 Packages                         
Get:3 http://security.ubuntu.com trusty-security/main Sources [102 kB]         
Hit http://us.archive.ubuntu.com trusty-backports InRelease                    
Hit http://us.archive.ubuntu.com trusty Release.gpg                            
Get:4 http://us.archive.ubuntu.com trusty-updates/main Sources [247 kB]        
Get:5 http://security.ubuntu.com trusty-security/restricted Sources [4,035 B]  
Ign http://ams2.mirrors.digitalocean.com trusty/main Translation-en_US         
Get:6 http://security.ubuntu.com trusty-security/universe Sources [31.9 kB]    
Ign http://extras.ubuntu.com trusty/main Translation-en_US                     
Ign http://ams2.mirrors.digitalocean.com trusty/main Translation-en            
Ign http://extras.ubuntu.com trusty/main Translation-en                        
Get:7 http://security.ubuntu.com trusty-security/multiverse Sources [2,353 B]  
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [385 kB]  
Get:9 http://us.archive.ubuntu.com trusty-updates/restricted Sources [5,359 B]
Get:10 http://us.archive.ubuntu.com trusty-updates/universe Sources [145 kB]   
Get:11 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [5,167 B]
Get:12 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [665 kB]
Get:13 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Get:14 http://security.ubuntu.com trusty-security/universe amd64 Packages [122 kB]
Get:15 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,795 B]
Get:16 http://security.ubuntu.com trusty-security/main i386 Packages [363 kB]  
Get:17 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:18 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [332 kB]
Get:19 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [13.0 kB]
Get:20 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Get:21 http://security.ubuntu.com trusty-security/universe i386 Packages [122 kB]
Get:22 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [643 kB] 
Get:23 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,972 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Get:24 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:25 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [333 kB]
Get:26 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [13.2 kB]
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en            
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en      
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en      
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en        
Hit http://us.archive.ubuntu.com trusty-backports/main Sources                 
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources           
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources             
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources           
Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages          
Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages    
Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages      
Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages    
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages           
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages     
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages       
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages     
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en          
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en    
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en    
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en      
Hit http://us.archive.ubuntu.com trusty Release                                
Hit http://us.archive.ubuntu.com trusty/main Sources                           
Hit http://us.archive.ubuntu.com trusty/restricted Sources                     
Hit http://us.archive.ubuntu.com trusty/universe Sources                       
Hit http://us.archive.ubuntu.com trusty/multiverse Sources                     
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages                    
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages              
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages                
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages              
Hit http://us.archive.ubuntu.com trusty/main i386 Packages                     
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages               
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages                 
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://us.archive.ubuntu.com trusty/main Translation-en                    
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en              
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en              
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Fetched 3,731 kB in 42s (88.3 kB/s)                                            
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
software-properties-common is already the newest version.
python-software-properties is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 213 not upgraded.
Installing packages for Ubuntu. This might take time...
Ign http://extras.ubuntu.com trusty InRelease
Ign http://us.archive.ubuntu.com trusty InRelease                   
Hit http://ams2.mirrors.digitalocean.com trusty InRelease                      
Hit http://extras.ubuntu.com trusty Release.gpg                                
Hit http://ams2.mirrors.digitalocean.com trusty/main amd64 Packages  
Hit http://extras.ubuntu.com trusty Release                          
Hit http://security.ubuntu.com trusty-security InRelease                       
Hit http://us.archive.ubuntu.com trusty-updates InRelease                      
Hit http://ams2.mirrors.digitalocean.com trusty/main i386 Packages             
Hit http://extras.ubuntu.com trusty/main Sources                               
Hit http://extras.ubuntu.com trusty/main amd64 Packages                        
Hit http://us.archive.ubuntu.com trusty-backports InRelease                    
Hit http://security.ubuntu.com trusty-security/main Sources                    
Ign http://ams2.mirrors.digitalocean.com trusty/main Translation-en_US         
Ign http://ams2.mirrors.digitalocean.com trusty/main Translation-en            
Hit http://extras.ubuntu.com trusty/main i386 Packages                         
Hit http://security.ubuntu.com trusty-security/restricted Sources              
Hit http://us.archive.ubuntu.com trusty Release.gpg                            
Ign http://extras.ubuntu.com trusty/main Translation-en_US                     
Ign http://extras.ubuntu.com trusty/main Translation-en               
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://us.archive.ubuntu.com trusty-updates/main Sources
Hit http://security.ubuntu.com trusty-security/multiverse Sources   
Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources             
Hit http://us.archive.ubuntu.com trusty-updates/universe Sources               
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages       
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources  
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/main amd64 Packages            
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages       
Hit http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages              
Hit http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages        
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages        
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages      
Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages             
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages       
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages    
Hit http://security.ubuntu.com trusty-security/restricted Translation-en 
Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages       
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/main Sources        
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources             
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources           
Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages          
Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages    
Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages      
Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages    
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages           
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages     
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages       
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages     
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en          
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en    
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en    
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en      
Hit http://us.archive.ubuntu.com trusty Release                                
Hit http://us.archive.ubuntu.com trusty/main Sources                           
Hit http://us.archive.ubuntu.com trusty/restricted Sources                     
Hit http://us.archive.ubuntu.com trusty/universe Sources                       
Hit http://us.archive.ubuntu.com trusty/multiverse Sources                     
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages                    
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages              
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages                
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages              
Hit http://us.archive.ubuntu.com trusty/main i386 Packages                     
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages               
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages                 
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://us.archive.ubuntu.com trusty/main Translation-en                    
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en              
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en              
Hit http://us.archive.ubuntu.com trusty/universe Translation-en                
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Reading package lists... Done                                                  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
libxslt1-dev is already the newest version.
libxslt1.1 is already the newest version.
python-dev is already the newest version.
python-mysqldb is already the newest version.
screen is already the newest version.
vim is already the newest version.
xfonts-base is already the newest version.
htop is already the newest version.
nodejs is already the newest version.
npm is already the newest version.
redis-server is already the newest version.
supervisor is already the newest version.
xfonts-75dpi is already the newest version.
fontconfig is already the newest version.
git is already the newest version.
libssl-dev is already the newest version.
libxext6 is already the newest version.
libxrender1 is already the newest version.
nginx is already the newest version.
ntp is already the newest version.
postfix is already the newest version.
python-setuptools is already the newest version.
libcrypto++-dev is already the newest version.
python-pip is already the newest version.
libmariadbclient-dev is already the newest version.
mariadb-common is already the newest version.
mariadb-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 213 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libjpeg8-dev is already the newest version.
liblcms2-dev is already the newest version.
libwebp-dev is already the newest version.
python-tk is already the newest version.
tcl8.6-dev is already the newest version.
tk8.6-dev is already the newest version.
zlib1g-dev is already the newest version.
libfreetype6-dev is already the newest version.
libtiff5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 213 not upgraded.
Installing wkhtmltopdf
--2015-12-16 16:05:14--  http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
Connecting to 192.168.1.4:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 14159064 (14M) [application/x-debian-package]
Saving to: ‘wkhtmltox-0.12.2.1_linux-trusty-amd64.deb.17’

100%[===============================================>] 14,159,064  38.2KB/s   in 2m 38s 

2015-12-16 16:07:52 (87.6 KB/s) - ‘wkhtmltox-0.12.2.1_linux-trusty-amd64.deb.17’ saved [14159064/14159064]

(Reading database ... 180724 files and directories currently installed.)
Preparing to unpack wkhtmltox-0.12.2.1_linux-trusty-amd64.deb ...
Unpacking wkhtmltox (0.12.2.1) over (0.12.2.1) ...
Setting up wkhtmltox (0.12.2.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
mysql stop/waiting
mysql start/running, process 48050
Adding frappe user
Cloning into 'bench-repo'...
remote: Counting objects: 1493, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 1493 (delta 1), reused 0 (delta 0), pack-reused 1485
Receiving objects: 100% (1493/1493), 264.15 KiB | 54.00 KiB/s, done.
Resolving deltas: 100% (986/986), done.
Checking connectivity... done.
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c250>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c350>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c490>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c5d0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/pip/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c2d0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c450>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c6d0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c290>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ba585c710>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/pip/
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
Obtaining file:///home/frappe/bench-repo
Requirement already satisfied (use --upgrade to upgrade): Click in /usr/local/lib/python2.7/dist-packages (from bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/local/lib/python2.7/dist-packages (from bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/local/lib/python2.7/dist-packages (from bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/dist-packages (from bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): honcho in /usr/local/lib/python2.7/dist-packages (from bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): semantic-version in /usr/local/lib/python2.7/dist-packages (from bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): GitPython==0.3.2.RC1 in /usr/local/lib/python2.7/dist-packages (from bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /usr/local/lib/python2.7/dist-packages (from jinja2->bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): gitdb>=0.5.1 in /usr/local/lib/python2.7/dist-packages (from GitPython==0.3.2.RC1->bench==0.92)
Requirement already satisfied (use --upgrade to upgrade): smmap>=0.8.5 in /usr/local/lib/python2.7/dist-packages (from gitdb>=0.5.1->GitPython==0.3.2.RC1->bench==0.92)
Installing collected packages: bench
  Running setup.py develop for bench
Successfully installed bench-0.92
Installing frappe-bench
Already using interpreter /usr/bin/python
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Cloning into 'frappe'...
remote: Counting objects: 87097, done.
remote: Compressing objects: 100% (220/220), done.
remote: Total 87097 (delta 111), reused 0 (delta 0), pack-reused 86877
Receiving objects: 100% (87097/87097), 54.64 MiB | 159.00 KiB/s, done.
Resolving deltas: 100% (63383/63383), done.
Checking connectivity... done.
installing frappe
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Cloning into 'erpnext'...
remote: Counting objects: 163887, done.
remote: Compressing objects: 100% (968/968), done.
remote: Total 163887 (delta 802), reused 0 (delta 0), pack-reused 162918
Receiving objects: 100% (163887/163887), 154.90 MiB | 168.00 KiB/s, done.
Resolving deltas: 100% (119796/119796), done.
Checking connectivity... done.
Checking out files: 100% (3715/3715), done.
installing erpnext
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
npm http GET https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/superagent
npm http GET https://registry.npmjs.org/cookie
npm http GET https://registry.npmjs.org/socket.io
	







^C
Session terminated, terminating shell...
Aborted!

Please help! It’s been 3 days since I’ve been trying to do this. Much appreciated.

@mmzq does not seem to be breaking for anyone else.

Does the npm install work via command line?

@rmehta Yes, I did try. The error that I get:

root@ubuntu:~$ npm http GET https://registry.npmjs.org/redis

Usage: npm <command>

where <command> is one of:
    add-user, adduser, apihelp, author, bin, bugs, c, cache,
    completion, config, ddp, dedupe, deprecate, docs, edit,
    explore, faq, find, find-dupes, get, help, help-search,
    home, i, info, init, install, isntall, issues, la, link,
    list, ll, ln, login, ls, outdated, owner, pack, prefix,
    prune, publish, r, rb, rebuild, remove, repo, restart, rm,
    root, run-script, s, se, search, set, show, shrinkwrap,
    star, stars, start, stop, submodule, tag, test, tst, un,
    uninstall, unlink, unpublish, unstar, up, update, v,
    version, view, whoami

npm <cmd> -h     quick help on <cmd>
npm -l           display full usage info
npm faq          commonly asked questions
npm help <term>  search for help on <term>
npm help npm     involved overview

Specify configs in the ini-formatted file:
    /home/root/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

npm@1.3.10 /usr/share/npm
root@ubuntu:~$

.

Created a clean instance and reinstalled – and it worked. A few last minute hiccups were resolved using questions posted by fellow users on this forum earlier.

Thanks much @rmehta!

1 Like