failure due to multiple versions of transitive dependencies from npm and workspace #9982
Unanswered
jeremymeng
asked this question in
Q&A
Replies: 1 comment 2 replies
|
The unhandled error looks like a server side runtime error, so it doesn't match with your problem statement. Would be nice to have a fuller picture of config or reproduction to understand the issue. For example, is it possible that |
2 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
Our tests pull in multiple versions of
@azure/core-lroand we are using the following config to ensure they are not optimized into one single chunk in browser bundle.However, vitest throws an error during the test probing phase before any tests are executed. It seems to be related to how vite cache modules. In this case even though the import of
deserializeStateis from @azure/core-lro v3, because the cached version is v2 which doesn't have that export and it tries to check imports from the cached version thus failed.Any workaround?
All reactions