This PR enables the legacy-peer-deps setting in the assets/admin/.npmrc file.
Why?
Because npm tries to resolve the dependency tree before validating the engines section of the pacakge.json. Because of this, users see a confusing dependency tree error message instead of the message that sulu is not compatible with npm 7. See https://github.com/sulu/skeleton/issues/133
What's in this PR?
This PR enables the
legacy-peer-deps
setting in theassets/admin/.npmrc
file.Why?
Because npm tries to resolve the dependency tree before validating the
engines
section of thepacakge.json
. Because of this, users see a confusing dependency tree error message instead of the message that sulu is not compatible with npm 7. See https://github.com/sulu/skeleton/issues/133