Closed arrowd closed 2 years ago
On FreeBSD the /home directory is a symlink to /usr/home.
Ugh.
Certainly looks like we have a different idea what the cwd is.
Output directory does not exist at '/home/arr/output'
Well that is odd, this should be /home/arr/aaa/output
or /usr/home/arr/aaa/output
right? Actually the other message also suggests your editor/LSP client is misconfigured, the root directory should be your test project, while it seems to be your home directory. See the README for some examples how to configure various editors/lsp plugins.
Ah, it is editor's responsibility to set the CWD. I missed rootIndicationFiles
for my editor. Setting it fixed the issue.
Sorry for the noise.
Do you not still have a symlink issue? I could believe that if something is normalising symlinks somehow and something else isn't there could be an issue - in particular if this language server & purs ide server
have different opinions on the matter
Nope, no symlink warnings now. Everything's work great.
On FreeBSD the
/home
directory is a symlink to/usr/home
. I have a test project in/home/arr/aaa
directory. Running a text editor with LSP yieldsAnother subtle error is
Am I doing something wrong, or this is an upstream bug?