-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
@mf-types.zip not being generate since 0.2.7 #2827
Comments
@2heal1 can you take a look? |
does the build crash? or just throw error? |
@ScriptedAlchemy |
Hi guys! I bumped into the same exact issue, but in my case types are not generated at all. The bundle is built (static JS-chunks + manifest files), but neither The error i get when i run build script: The The I have Another problem is that
But when i run my build command again with specific typesFolder name, i still meet the same error message as it was: |
Some updates to my notes here :) So if we take a closer look to an error it firstly says that TS compile failed: So if i try to run this command manually i get i few TS erros while compiling. These errros come from Soooo if i go to So the problem of not building @mf-types.zip is the TS error inside
This is where this line of code is declared https://github.com/DefinitelyTyped/DefinitelyTyped/blame/master/types/ws/index.d.ts#L312 And my Node version is Rolling back to "@types/ws": "8.5.4" probably fixes the problem jfyi @2heal1 |
Do you happen to have any updates on this one? |
because now mf types will use project's tsconfig.json , so you can set |
I have this in my tsconfig. The same error is still there.. |
Try to run the specified command from the error message (in your case it is |
Hi guys, I'm also experiencing this problem, when I run Then stamp the ts type so he doesn't report errors, and you can generate the @mf-types.zip file |
@ryok90 upgrade to |
Describe the bug
GenerateTypesPlugin
is having trouble generating the zip file for@mf-types
.Replication is just bumping the plugins version to
0.3.3
of an rspack app from mf examples repo..
Reproduction
https://github.com/module-federation/module-federation-examples/tree/master/rspack_hmr/app2
Used Package Manager
pnpm
System Info
Validations
The text was updated successfully, but these errors were encountered: