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
For @lit-labs/testing, when utilizing ssrFixture, the server command registered by the WTR plugin resolves the provided relative module paths before sending to the worker thread to be imported before rendering.
Which package(s) are affected?
Other/unknown (please mention in description)
Description
For
@lit-labs/testing
, when utilizingssrFixture
, the server command registered by the WTR plugin resolves the provided relative module paths before sending to the worker thread to be imported before rendering.lit/packages/labs/testing/src/lib/lit-ssr-plugin.ts
Lines 32 to 34 in 1ac5805
In windows, this creates module paths that begin with "drive:" like
c:
, causing an error likeWe should fix it so it's always a proper file URL for all platforms.
Reproduction
TODO
Workaround
Manually patch the plugin code.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
latest
Browser/OS/Node environment
OS: Windows
The text was updated successfully, but these errors were encountered: