You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing from packages on Ubuntu 16.04 LTS with default repo we get nodejs-4.2.6~dfsg-1ubuntu4.1 package from Ubuntu repo instead of deb.nodesource.com. The apt-cache policy nodejs output:
An easy way to correct this is to specify a major version in the attributes/default.rb like default['nodejs']['version'] = '6' which will get interpolated into the URL and allow installing the intended version of NodeJS.
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Adding default repository as this cookbook does in the repo recipe seems to cause this issue. I believe the cookbook is working as designed ( the design may be bad but that's a separate issue.)
When installing from packages on Ubuntu 16.04 LTS with default repo we get
nodejs-4.2.6~dfsg-1ubuntu4.1
package from Ubuntu repo instead of deb.nodesource.com. Theapt-cache policy nodejs
output:The fix is to set
node['nodejs']['repo'] = 'https://deb.nodesource.com/node_6.x'
(default repo ishttps://deb.nodesource.com/node
)The text was updated successfully, but these errors were encountered: