Skip to content


Update recipes/npm.rb #18

merged 1 commit into from

2 participants


Ensure npm recipe honours the 'source' or 'package' setting.

Currently the npm recipe always installs from source, even if the install_method setting is package. A simple fix is to get npm to load the default recipe which will do the job of deciding whether to load install from source or package.

Fixes #12.

@markbirbeck markbirbeck Update recipes/npm.rb
Ensure npm recipe honours the 'source' or 'package' setting.
@mdxp mdxp merged commit 9e39a20 into mdxp:master

1 check passed

Details default The Travis build passed

Merged; Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 7, 2012
  1. @markbirbeck

    Update recipes/npm.rb

    markbirbeck committed
    Ensure npm recipe honours the 'source' or 'package' setting.
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/npm.rb
2 recipes/npm.rb
@@ -18,7 +18,7 @@
# limitations under the License.
-include_recipe "nodejs::install_from_source"
+include_recipe "nodejs"
package "curl"
Something went wrong with that request. Please try again.