Install the latest nodejs from source

This commit is contained in:
Greg Karékinian
2017-01-20 03:48:01 +00:00
parent b431e75e79
commit 671a2c4421
25 changed files with 882 additions and 141 deletions

View File

@@ -7,12 +7,6 @@
# All rights reserved - Do Not Redistribute
#
include_recipe 'build-essential'
node.override['nodejs']['repo'] = 'https://deb.nodesource.com/node_5.x'
include_recipe 'nodejs::nodejs_from_package'
# Update npm
nodejs_npm "npm" do
version "3.5.3"
end
node.override['nodejs']['version'] = '6.9.4'
node.override['nodejs']['source']['checksum'] = 'c51d7c61db40455d57428abcadc7eb0f0a08a8878cb1d8ea3c1e211c54532c35'
include_recipe 'nodejs::nodejs_from_source'