sous-chefs/nodejs

npm won't get re-installed after node update

Open

#120 opened on Mar 10, 2016

View on GitHub
 (7 comments) (1 reaction) (0 assignees)Ruby (188 forks)auto 404
BugHelp WantedMaintenancePriority: Mediumhacktoberfest

Repository metrics

Stars
 (228 stars)
PR merge metrics
 (PR metrics pending)

Description

Given:

  • node installed using binary method
  • npm installed using source method

When:

  • update node version
  • leave npm version unchanged

Then

  • embbed npm of node is used.

npm recipe should check the current npm version and re-install if is below the version specified in attributes. Ark only checks if the directory already exists (eg /usr/local/node-3.8.0).

Contributor guide