Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
f0202173
Commit
f0202173
authored
Jul 24, 2016
by
system_user
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the errors that didn't allow node to be installed
parent
cc998495
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
packages/node.rb
packages/node.rb
+2
-2
packages/node_current.rb
packages/node_current.rb
+2
-2
packages/node_stable.rb
packages/node_stable.rb
+4
-4
No files found.
packages/node.rb
View file @
f0202173
...
@@ -17,7 +17,7 @@ class Node < Package
...
@@ -17,7 +17,7 @@ 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
echo
"Now to get npm -g working you should type this
"
system
"echo 'Now to get npm -g working you should type this'
"
echo
"sudo chown -R chronos /usr/local/lib/node_modules
"
system
"echo 'sudo chown -R chronos /usr/local/lib/node_modules'
"
end
end
end
end
packages/node_current.rb
View file @
f0202173
...
@@ -18,7 +18,7 @@ class Node_current < Package
...
@@ -18,7 +18,7 @@ class Node_current < 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
echo
"Now to get npm -g working you should type this
"
system
"echo 'Now to get npm -g working you should type this'
"
echo
"sudo chown -R chronos /usr/local/lib/node_modules
"
system
"echo 'sudo chown -R chronos /usr/local/lib/node_modules'
"
end
end
end
end
packages/node_stable.rb
View file @
f0202173
...
@@ -16,9 +16,9 @@ class Node_stable < Package
...
@@ -16,9 +16,9 @@ class Node_stable < 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
echo
"Now to get npm -g working you should type this
"
system
"echo 'Now to get npm -g working you should type this'
"
echo
"sudo chown -R chronos /usr/local/lib/node_modules
"
system
"echo 'sudo chown -R chronos /usr/local/lib/node_modules'
"
echo
"also...
"
system
"echo 'also...'
"
echo
"node_stable has been depricated. Please install node_current to get the latest changes
"
system
"echo 'node_stable has been depricated. Please install node_current to get the latest changes'
"
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment