Return helpful error message when unable to create build lock #3809
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Contributions encouraged
priority:medium
This is a bug in the Gleam compiler, sorry!
Please report this crash to https://github.com/gleam-lang/gleam/issues/new
and include this error message with your report.
Panic: compiler-cli/src/build_lock.rs:38
LockFile creation: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
Gleam version: 1.5.1
Operating system: macos
If you can also share your code and say what file you were editing or any
steps to reproduce the crash that would be a great help.
You may also want to try again with the
GLEAM_LOG=trace
environmentvariable set.
[Info - 8:54:54 AM] Connection to server got closed. Server will restart.
true
INFO language_server_starting
Hello human!
This command is intended to be run by language server clients such
as a text editor rather than being run directly in the console.
Many editors will automatically start the language server for you
when you open a Gleam project. If yours does not you may need to
look up how to configure your editor to use a language server.
You can exit this program by pressing ctrl+c.
The text was updated successfully, but these errors were encountered: