npmHooks.npmConfigHook: sugget specifying legacy peer deps option for all commands

This commit is contained in:
Winter 2022-11-10 16:41:25 -05:00
parent 93334f5234
commit 3d5f77f496

View file

@ -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