Commit 6d9e7221 authored by Damian Montero's avatar Damian Montero

Node to 6.11.0 and npm -g baked in without user interaction

parent 55b57920
...@@ -18,12 +18,6 @@ class Node < Package ...@@ -18,12 +18,6 @@ class Node < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#Fix Permissiongs for -g installs of node packages #Fix Permissiongs for -g installs of node packages
#puts "************************************************************" system "sudo chown -R chronos /usr/local/{lib/node_modules,bin,share}"
#puts "Now run:"
#puts "sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
#puts "To be able to do"
#puts "npm install -g"
#puts "without being SUDO"
system "sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment