Commit 23150a33 authored by Damian Montero's avatar Damian Montero Committed by GitHub

have the user run a line we cannot

parent 2e80a6be
......@@ -16,6 +16,11 @@ class Node_stable < Package
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#Fix Permissiongs for -g installs of node packages
system "sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
echo "************************************************************"
echo "Now run:"
echo "sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}"
echo "To be able to do"
echo "npm install -g"
echo "without being SUDO"
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