mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
npmHooks.npmConfigHook: sugget specifying legacy peer deps option for all commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user