summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/build-support/node/build-npm-package/hooks/npm-config-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/node/build-npm-package/hooks/npm-config-hook.sh b/pkgs/build-support/node/build-npm-package/hooks/npm-config-hook.sh
index a8b0fca279986..17244cecb2852 100644
--- a/pkgs/build-support/node/build-npm-package/hooks/npm-config-hook.sh
+++ b/pkgs/build-support/node/build-npm-package/hooks/npm-config-hook.sh
@@ -80,7 +80,7 @@ npmConfigHook() {
         echo "Here are a few things you can try, depending on the error:"
         echo '1. Set `makeCacheWritable = true`'
         echo "  Note that this won't help if npm is complaining about not being able to write to the logs directory -- look above that for the actual error."
-        echo '2. Set `npmInstallFlags = [ "--legacy-peer-deps" ]`'
+        echo '2. Set `npmFlags = [ "--legacy-peer-deps" ]`'
         echo
 
         exit 1