Closed jerrygreen closed 3 years ago
@JerryGreen I've published https://github.com/Shopify/vscode-as/releases/tag/v0.4.0 which brings a couple of improvements, including improved support for WSL and less overhead during the setup. Could you confirm if this is working on your side?
@saulecabrera Tried to install it on MacBook and get this error:
/Users/munrocket/.vscode/extensions/saulecabrera.asls-0.4.0/bin/asls/bin/asls:
/Users/munrocket/.vscode/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/0.6.0/elixir:
/nix/store/kl013dwzxf67l4pfrx6x2d5q6pq9gf36-bash-4.4-p23/bin/sh: bad interpreter: No such file or directory
/Users/munrocket/.vscode/extensions/saulecabrera.asls-0.4.0/bin/asls/bin/asls: line 108:
/Users/munrocket/.vscode/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/0.6.0/elixir: Undefined error: 0
It seems that Apple can quarantine the script or wrong line endings.
In my
package.json
I have the requiredasbuild
command:When I run
yarn asbuild
it perfectly builds, and shows me errors:I use Windows so I installed
alpine-linux
via WSL, installed Nix there, and started the language server in Terminal:But still I'm getting this
asls not found
error in VSCode:In console where I run
asls
I see no errors or anything when starting VSCode, though if I manually try to accesslocalhost:7658
in browser and then close the tab, it shut downs with error:So therefore it's not the issue with port forwarding or anything, but the extension itself, it seems. The version:
VSCode
saulecabrera.asls
version:v0.3.3