Created
February 3, 2017 16:06
-
-
Save mbroadst/b4f4b11d22e8fd9529b4f01507f31845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b8965640622e2b649503b67faf88b9acba23bba6 Mon Sep 17 00:00:00 2001 | |
From: Matt Broadstone <mbroadst@gmail.com> | |
Date: Mon, 11 Apr 2016 09:43:16 -0400 | |
Subject: [PATCH 4/4] remove no-registry flag for npm install | |
--- | |
mk/support/pkg/npm-pkg.inc | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/mk/support/pkg/npm-pkg.inc b/mk/support/pkg/npm-pkg.inc | |
index 179e772..a149265 100644 | |
--- a/mk/support/pkg/npm-pkg.inc | |
+++ b/mk/support/pkg/npm-pkg.inc | |
@@ -49,7 +49,7 @@ pkg_install () { | |
mkdir -p "$install_dir/node_modules" | |
local pkg | |
pkg=$(niceabspath "$src_dir") | |
- in_dir "$install_dir" npm --no-registry install "$pkg" | |
+ in_dir "$install_dir" npm install "$pkg" | |
local bin_dir="$install_dir/node_modules/$full_npm_package/node_modules/.bin/" | |
mkdir -p "$install_dir/bin" | |
-- | |
2.3.8 (Apple Git-58) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment