nx migrate --run-migrations
installs deps with legacy-peer-deps=true
(even for projects without this legacy config)
#26675
Labels
Current Behavior
Use project without
legacy-peer-deps=true
.Run the following command
it logs:
and then throws error:
(actually, this dependency
node_modules/ts-morph
existed before runningnx migrate --run-migrations
).Use the following command instead
Everything is okay, no error.
Expected Behavior
Default command
works without error for default project configuration (without
legacy-peer-deps=true
).GitHub Repo
taiga-family/maskito#1337
Steps to Reproduce
nx-legacy-peer-deps-demo
It will throw error
package-lock.json
and run againnpm ci
.Everything is okay, no error.
Read more in-depth description in the body of this PR:
legacy-peer-deps=true
) taiga-family/maskito#1337Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
Probably, the problem relates to the following lines from
nx
-library:The text was updated successfully, but these errors were encountered: