Open dsyer opened 2 years ago
I might have a fix. At least these are the steps I took in order to get a working situation for myself.
git clone https://github.com/Shopify/asls
cd asls
mv Dockerfile Dockerfile.linux
make clean
MIX_ENV=prod mix release
cp -r _build/prod/rel/asls /opt/asls/vscode-as/bin/asls
rm -r /opt/asls/vscode-as/bin/*.tar.gz
cd /opt/asls/vscode-as/
yarn
npx vsce package
Install the resulting vsix and try it. For some reason the other code will not load the Module for whatever reason. I am really not sure what the magic combination is because Erlang/Elixir is not my forte.
Hope this helps others out.
In an attempt to fix #42 (#47) I updated the asls to the latest release, followed the instructions in the README and repackaged the extension as v0.4.1, finally installing the vsix locally. Then it fails in a different way:
I'm sure why that is happening, or where to start fixing it. I can't see "latin1" anywhere in the environment.
I force
LC_ALL=en_US.UTF-8
in the environment, and there's a new error:I don't know where to even start with that one.