https://bugzilla.wikimedia.org/show_bug.cgi?id=61508
--- Comment #2 from Krinkle <[email protected]> --- krinkle at integration-slave03: # Enter root and fix HOME so that npm doesn't put cache in /home # which is read-only in labs (why?) $ sudo -s $ export HOME=/root # Temporarily disable ssl check $ npm conf set strict-ssl false # Remove symlink to apt-get installed version # because npm is not allowed to to delete this shadow $ l /usr/bin/npm /usr/bin/npm -> /etc/alternatives/npm* $ rm /usr/bin/npm # Upgrade npm $ /etc/alternatives/npm install -g npm [email protected] ... [email protected] # Re-enable ssl check $ npm conf set strict-ssl true # Verify that stuff works by doing an # install of an example package (jshint) # in a tmp dir $ cd /tmp && mkdir foo123 && cd foo123 $ npm install jshint ... success $ cd ~ $ rm -rf /tmp/foo123 # Install Grunt $ npm install -g grunt-cli ... success -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
