-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Dependency Conflict on mem-fs
for yeoman-generator 7.x
#1493
Comments
Maybe you should update yeoman-test and yeoman-environment together. |
I'm likely missing something - but it's not clear to me how I saw that In case it's useful, here is my
|
I’ve created a new folder and run |
I get errors on completely new projects using various different configurations. I've asked other folks on my team to try this out as well and they get same error. Node 18:
Node 20 w/ out-of-the-box npm version from
Node 20 with latest
|
well. turns out it looks like it's something in our environment / internal repo because:
works fine. sorry for the confusion. |
Well. It is on our side... but we're definitely not the only folks who are gonna run into this.
If i hack my local npm's It seems to me like |
Thanks for the follow up. Unfortunately moving the dependency to dependencies instead of acceptDependencies would be a breaking change since mem-fs@4 would be installed by default and it requires node 18 while types requires node 16. You can try to use overrides to workaround the problem. |
Ah, thank you! not being a node developer - i was fully unaware of overrides, but that seems to have done the trick. I've opened an MR to try to get |
@madorb Could you please share how to set up overrides to fix your issue? |
Forgive me for any mistaken terminology or assumptions, I am not a node developer...
Upgrading my generator to use
yeoman-generator@7.1.0
causes the following issue:Again, not a node developer, but this reads to me as
yeoman-generator
depending onmem-fs@^4.0.0
as well as@yeoman/types@1.1.1
but@yeoman/types@1.1.1
specifically requiringmem-fs@^3.0.0
.This seems like a fundamental conflict that's controlled entirely within the yeoman ecosystem - I'm not sure what the recommended solution is.
The text was updated successfully, but these errors were encountered: