You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the @module-federation/enhanced/webpack plugin with type generation in a project using yarn PnP. And starting with version 0.2.7 the type generation throws an error. The error message provides the command that fails in the format npx tsc --project path/to/config.json and this command will succeed when run as yarn tsc ... but fails to resolve dependencies when run with npx
When the yarn nodeLinker is set to use pnpm this is not an issue so that's why I believe it's a PnP compatibility issue
Describe the bug
We are using the @module-federation/enhanced/webpack plugin with type generation in a project using yarn PnP. And starting with version 0.2.7 the type generation throws an error. The error message provides the command that fails in the format
npx tsc --project path/to/config.json
and this command will succeed when run asyarn tsc ...
but fails to resolve dependencies when run with npxWhen the yarn nodeLinker is set to use pnpm this is not an issue so that's why I believe it's a PnP compatibility issue
Reproduction
https://github.com/jaredchamberlain/mf-types-pnp
Used Package Manager
yarn
System Info
Validations
The text was updated successfully, but these errors were encountered: