-
-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Not sure what I am seeing here and why.
I have this in my config/config.exs:
signing_salt =
System.get_env("SIGNING_SALT") ||
raise """
environment variable SIGNING_SALT is missing.
You can generate one by calling: mix phx.gen.secret 32
"""Arguable if this is the right location but I didn't expect expert to fail
What environment expert is using for compile?
2026-01-24 13:51:16.738 [info] [Error - 1:51:16 PM] Client Expert: connection to server is erroring.
Header must provide a Content-Length property.
{"{\"jsonrpc\"":"\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"data\":null,\"message\":\"environment variable SIGNING_SALT is missing.\\nYou can generate one by calling: mix phx.gen.secret 32\\n\",\"range\":{\"end\":{\"character\":0,\"line\":1},\"start\":{\"character\":0,\"line\":0}},\"severity\":1,\"source\":\"Elixir\"}],\"uri\":\"file:///home/elixir-dev/projects/ganymed/lib/backend_web/components/customer_components.ex\"}}Content-Length: 421"}
Shutting down server.
Metadata
Metadata
Assignees
Labels
No labels