Some Windows users were reporting problems running anything from our dev tools. They were getting a file I/O error. After a user did some digging it turns out that this is a rebar thing whereby it's creating symlinks for any dep that has a priv/ directory.
Creating symlinks needs elevated privileges so your editor (or terminal) needs to be in admin mode or you will always get an error like:
Error: File input/output error
An error occurred while trying to link this file:
C:\projects\gleam\lustre\examples\05-http-requests\build\dev\erlang\gleam_package_interface\priv
The error message from the file I/O library was:
The client does not have the required rights. (operating system error 1314)
This isn't really our problem but we can absolutely warn Windows users ahead of time so they're not scratching their head or thinking we're the ones at fault!
Some Windows users were reporting problems running anything from our dev tools. They were getting a file I/O error. After a user did some digging it turns out that this is a rebar thing whereby it's creating symlinks for any dep that has a
priv/
directory.Creating symlinks needs elevated privileges so your editor (or terminal) needs to be in admin mode or you will always get an error like:
This isn't really our problem but we can absolutely warn Windows users ahead of time so they're not scratching their head or thinking we're the ones at fault!