Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug report: iex and vscode plugin not working #1

Open
lei0zhou opened this issue Nov 22, 2024 · 0 comments
Open

bug report: iex and vscode plugin not working #1

lei0zhou opened this issue Nov 22, 2024 · 0 comments

Comments

@lei0zhou
Copy link

lei0zhou commented Nov 22, 2024

Thanks for making this a reality!

after install vscode plugin, and mix archive.install github thmsmlr/livescript

I got two issues,

(1)
in VScode, there is start livescript server but I cannot click it, and in command pallet there is no start livescript server command

(2) I created a testing.exs with "a=1" in it.
run iex -S mix livescript testing.exs, I got the following error

Erlang/OTP 27 [erts-15.1] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]

Listening for commands on port 13137
Interactive Elixir (1.17.3) - press Ctrl+C to exit (type h() ENTER for help)

22:25:04.942 [error] GenServer Livescript terminating
** (CaseClauseError) no case clause matching: 1
lib/mix/tasks/livescript.ex:300: anonymous fn/2 in Livescript.execute_code/1
(elixir 1.17.3) lib/enum.ex:4782: Enum.take_while_list/2
(elixir 1.17.3) lib/enum.ex:4783: Enum.take_while_list/2
lib/mix/tasks/livescript.ex:293: Livescript.execute_code/1
lib/mix/tasks/livescript.ex:151: Livescript.handle_info/2
(stdlib 6.1) gen_server.erl:2345: :gen_server.try_handle_info/3
(stdlib 6.1) gen_server.erl:2433: :gen_server.handle_msg/6
(stdlib 6.1) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
Last message: :poll
State: %{last_modified: nil, file_path: "/.../testing.exs", executed_exprs: []}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant