Replies: 2 comments 2 replies
-
|
What version of Modernjs? Also serve or build? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
It looks like the compiler is adding a new compilation ID on every code change. After this is done, another Module Federation Runtime could access the previous compilation ID instead of the latest one. Not sure if this is a race-condition... Does anyone have a clue? Maybe @ScriptedAlchemy |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A co-worker of mine receives this error output every time he changes a line of code inside Modern.js. Any idea what this could be? This error only happens on his machine so I don't expect it to be a configuration issue with module federation or modern.js itself.
[ Module Federation Dev Server ] Error: Unable to access compilation with id = CompilationId(43) now. The compilation have been removed on the Rust side. The latest compilation id is CompilationId(46) at _Compilation.get errors [as errors] (C:\workspace\fox\microfrontend\catalog\node_modules\@rspack\core\dist\index.js:3263:26) at C:\workspace\fox\microfrontend\catalog\node_modules\ts-checker-rspack-plugin\lib\hooks\tap-done-to-async-get-issues.js:70:39 at Array.forEach (<anonymous>) at Object.fn (C:\workspace\fox\microfrontend\catalog\node_modules\ts-checker-rspack-plugin\lib\hooks\tap-done-to-async-get-issues.js:64:20) { code: 'GenericFailure' } [ Module Federation Dev Server ] Process(38772) unhandledRejection, mf server will exit...Thank's guys,
YanPes
Beta Was this translation helpful? Give feedback.
All reactions