Hello, i have some error in Visual Studio Code, some code i am trying to execute from elixir guidline web not working but works well in terminal elixir, above picture is working in terminal elixir but below here the code not working in vs code
i
Hello, i have some error in Visual Studio Code, some code i am trying to execute from elixir guidline web not working but works well in terminal elixir, above picture is working in terminal elixir but below here the code not working in vs code
i
General note: prefer text set in triple-backticks (```
) instead of screenshots for error messages / terminal output. That makes them more legible (vs red text on black in an image) and searchable for future readers.
I believe you’re getting a name collision between iex.bat
(the Elixir shell) and iex
(the Powershell alias for Invoke-Expression
):
in the guideline show just typing iex kv.exs but in Windows is showing error
On Windows with Powershell, you’ll likely have to type iex.bat kv.exs
because the name used everywhere else (iex
) is already a built-in command in Powershell.