Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable legacy-peer-deps in .npmrc file to display helpful error message when using npm 7 #135

Merged

Conversation

niklasnatter
Copy link
Contributor

Q A
Related issues/PRs sulu/sulu#6200 #133

What's in this PR?

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 #133

@alexander-schranz alexander-schranz merged commit a7b51c4 into sulu:2.2 Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants