Commit f0202173 authored by system_user's avatar system_user

Fixing the errors that didn't allow node to be installed

parent cc998495
......@@ -17,7 +17,7 @@ class Node < Package
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#Fix Permissiongs for -g installs of node packages
echo "Now to get npm -g working you should type this"
echo "sudo chown -R chronos /usr/local/lib/node_modules"
system "echo 'Now to get npm -g working you should type this'"
system "echo 'sudo chown -R chronos /usr/local/lib/node_modules'"
end
end
......@@ -18,7 +18,7 @@ class Node_current < Package
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#Fix Permissiongs for -g installs of node packages
echo "Now to get npm -g working you should type this"
echo "sudo chown -R chronos /usr/local/lib/node_modules"
system "echo 'Now to get npm -g working you should type this'"
system "echo 'sudo chown -R chronos /usr/local/lib/node_modules'"
end
end
......@@ -16,9 +16,9 @@ class Node_stable < Package
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#Fix Permissiongs for -g installs of node packages
echo "Now to get npm -g working you should type this"
echo "sudo chown -R chronos /usr/local/lib/node_modules"
echo "also..."
echo "node_stable has been depricated. Please install node_current to get the latest changes"
system "echo 'Now to get npm -g working you should type this'"
system "echo 'sudo chown -R chronos /usr/local/lib/node_modules'"
system "echo 'also...'"
system "echo 'node_stable has been depricated. Please install node_current to get the latest changes'"
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