-
Notifications
You must be signed in to change notification settings - Fork 168
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
chore: Run npm install with --legacy-peer-deps for React 19 #20829
base: main
Are you sure you want to change the base?
Conversation
Needed until there is a new Lit release
b3f9e13
to
39f17b0
Compare
Quality Gate passedIssues Measures |
@@ -267,6 +268,9 @@ private void runNpmInstall() throws ExecutionFailedException { | |||
} | |||
|
|||
npmInstallCommand.add("--ignore-scripts"); | |||
if (options.getFeatureFlags().isEnabled(FeatureFlags.REACT19)) { | |||
npmInstallCommand.add(" --legacy-peer-deps"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for clarity this could have a comment that should/can be removed after Lit x.y.z has been released and taken into use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a new lit release so maybe we don’t need this pr at all
Needed until there is a new Lit release