Closed jzelinskie closed 2 years ago
@jzelinskie Thank you for your bug report. I'll do some searching to see what the right solution is here.
@jzelinskie I looked at both Mocha and TypeScript and they both seem to do the same thing here.
Do you have an example of an open source project that works for your setup?
It was forever ago that I reported this and I can't seem to reproduce this on my new laptop.
$ cat .npmrc
prefix=${XDG_DATA_HOME}/node
$ echo $XDG_DATA_HOME
/Users/jzelinskie/.local/share
$ which docker-langserver
/Users/jzelinskie/.local/share/node/bin/docker-langserver
$ docker-langserver --stdio
^C
@jzelinskie Thanks for getting back to us. Have a nice day!
My .npmrc uses a custom prefix to install binaries into $XDG_DATA_HOME:
This breaks docker-langserver because it's using a relative import to execute the server: