Skip to content
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

Workaround for networked filesystems on Windows (nodejs/node#48530) #174

Merged
merged 1 commit into from Jul 5, 2023

Conversation

gurupras
Copy link
Contributor

@gurupras gurupras commented Jul 5, 2023

When using networked filesystems on Windows, V8 sometimes returns URLs that look like file:////<host>/path. Given that these URLs are well understood by Python, Windows Explorer and Chrome, this is presumably not a bug in V8. On the other hand, NodeJS does not parse these correctly (nodejs/node#48530) and it ends up throwing instead.

 FAIL  ndl1/test/index.test.ts
  ● Test suite failed to run

    TypeError: File URL path must be absolute

      at N:/ndl1/node_modules/jest-runtime/build/index.js:1400:59
          at Array.map (<anonymous>)

@SimenB SimenB merged commit 4de72ea into SimenB:main Jul 5, 2023
1 check failed
@SimenB
Copy link
Owner

SimenB commented Jul 5, 2023

Thanks! This must have been annoying to debug 😅

github-actions bot pushed a commit that referenced this pull request Jul 5, 2023
## [1.0.2](v1.0.1...v1.0.2) (2023-07-05)

### Bug Fixes

* workaround for networked filesystems on Windows ([#174](#174)) ([4de72ea](4de72ea))
@SimenB
Copy link
Owner

SimenB commented Jul 5, 2023

Bot hit rate limit commenting on all merged renovate PRs 🙈

https://github.com/SimenB/collect-v8-coverage/releases/tag/v1.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants