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

TypeError: File URL path must be absolute #100

Open
hsubramanianaks opened this issue Oct 9, 2024 · 0 comments
Open

TypeError: File URL path must be absolute #100

hsubramanianaks opened this issue Oct 9, 2024 · 0 comments

Comments

@hsubramanianaks
Copy link

hsubramanianaks commented Oct 9, 2024

we have an extension which uses clipboardy as dependency, recently when we upgraded from 1.2.3 to 3.0.0 we were getting FilePath URL issues in windows, but worked in linux/mac

TypeError: File URL path must be absolute
at getPathFromURLWin32 (node:internal/url:1433:11)
at fileURLToPath (node:internal/url:1466:35)

when we checked the transpiled javascript, it was the absolute URL clipboardy was using for different platforms was not correct and it was depending on the platform where the extension was published.

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

No branches or pull requests

1 participant