diff options
author | Winter <winter@winter.cafe> | 2022-11-10 16:41:25 -0500 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2022-11-21 15:00:08 -0500 |
commit | 3d5f77f496147a4ae553154a2fb66c4a88066325 (patch) | |
tree | 76a2e88c24e1d0e871df5b2e53f2254413134fc5 | |
parent | 93334f5234211e2cb17c58bb1f9dfe4963f7fb82 (diff) |
npmHooks.npmConfigHook: sugget specifying legacy peer deps option for all commands
-rw-r--r-- | pkgs/build-support/node/build-npm-package/hooks/npm-config-hook.sh | 2 |
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 |