yeoman / generator

Rails-inspired generator system that provides scaffolding for your apps
http://yeoman.io
BSD 2-Clause "Simplified" License
1.2k stars 298 forks source link

yeoman-generator wants conflicting transitive dependencies on mem-fs #1502

Closed ntucker closed 5 months ago

ntucker commented 7 months ago

Fix:

Update @yeoman/types mem-fs dependency to 4

Problem:

yeoman-generator depends on @yeoman/types and mem-fs@4. But @yeoman/types doesn't like mem-fs@4 - it wants @3.

mem-fs is listed by your project with version 4.0.0, which doesn't satisfy what @yeoman/types (pac28d) requests (^3.0.0).
mshima commented 7 months ago

@yeoman/types has acceptDependencies field. https://github.com/yeoman/yeoman-api/blob/6a5bf931273cb1816020797cc34a2d6c73a73deb/workspaces/types/package.json#L59-L61

See https://github.com/npm/rfcs/blob/main/implemented/0023-acceptDependencies.md#motivation.

mshima commented 7 months ago

@yeoman/types requires node 16 while mem-fs@4 requires node 18.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open with no activity. Remove stale label or comment or this will be closed