Shopify / vscode-as

VSCode Language Client for AssemblyScript
MIT License
16 stars 6 forks source link

Bad interpreter #35

Open Alsan opened 3 years ago

Alsan commented 3 years ago

I can't start the language server. After some dig, got the log below.

Note : I'm using linux, and tried to install elixir natively.

xsp➜  bin  ᐅ  bash -x asls start
+ set -e
++ readlink asls
++ true
+ SELF=
+ '[' -z '' ']'
+ SELF=asls
+++ dirname asls
++ cd ./..
++ pwd -P
+ RELEASE_ROOT=/home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls
+ export RELEASE_ROOT
+ export RELEASE_NAME=asls
+ RELEASE_NAME=asls
++ cut '-d ' -f2 /home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/start_erl.data
+ export RELEASE_VSN=0.6.0
+ RELEASE_VSN=0.6.0
+ export RELEASE_COMMAND=start
+ RELEASE_COMMAND=start
+ export RELEASE_MODE=embedded
+ RELEASE_MODE=embedded
+ REL_VSN_DIR=/home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/0.6.0
+ . /home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/0.6.0/env.sh
++ cat /home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/COOKIE
+ export RELEASE_COOKIE=C7RIIBBF44SCHHZ2PWNPKXMDDHGHI6FBODNZFPSARHLXNQFCNMZA====
+ RELEASE_COOKIE=C7RIIBBF44SCHHZ2PWNPKXMDDHGHI6FBODNZFPSARHLXNQFCNMZA====
+ export RELEASE_NODE=asls
+ RELEASE_NODE=asls
+ export RELEASE_TMP=/home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/tmp
+ RELEASE_TMP=/home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/tmp
+ export RELEASE_VM_ARGS=/home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/0.6.0/vm.args
+ RELEASE_VM_ARGS=/home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/0.6.0/vm.args
+ export RELEASE_DISTRIBUTION=sname
+ RELEASE_DISTRIBUTION=sname
+ export RELEASE_BOOT_SCRIPT=start
+ RELEASE_BOOT_SCRIPT=start
+ export RELEASE_BOOT_SCRIPT_CLEAN=start_clean
+ RELEASE_BOOT_SCRIPT_CLEAN=start_clean
+ case $1 in
+ start elixir --no-halt
+ set +x
asls: /home/alsan/Templates/assemblyscript/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
asls: line 60: /home/alsan/Templates/assemblyscript/extensions/saulecabrera.asls-0.4.0/bin/asls/releases/0.6.0/elixir: Success
xsp➜  bin  ᐅ