gleam-lang / gleam

⭐️ A friendly language for building type-safe, scalable systems!
https://gleam.run
Apache License 2.0
17.42k stars 723 forks source link

File IO failure on secondary drives. #2819

Closed adityavardhanpadala closed 2 months ago

adityavardhanpadala commented 5 months ago

I was trying gleam on windows. When I try to do

gleam new tests
cd tests
gleam run

it throws this error.

➜ gleam run
  Resolving versions
Downloading packages
error: File IO failure
An error occurred while trying to write to this directory:
    D:\repos\tests\build\packages\gleeunit
The error message from the file IO library was:
    failed to unpack `\\?\D:\repos\tests\build\packages\gleeunit\src\gleeunit.erl`

This is on a secondary drive (exFAT) and does not happen on primary drive (ntfs).

full logs: log.txt

lpil commented 5 months ago

Thank you. Gunna use the other issue for tracking

MedLabs commented 5 months ago

Still the same on linux:

 las@lapsus  /backup/dev/gleam/demo  gleam run .
error: File IO failure

An error occurred while trying to delete this directory:

    /backup/dev/gleam/demo/build/dev/erlang

The error message from the file IO library was:

    Directory not empty (os error 39)
hebertcisco commented 2 months ago

Still the same on linux pop os:

gleam add gleam_erlang

Resolving versions error: File IO failure

lpil commented 2 months ago

Oops i forgot to close this one!